🎥 Make videos programmatically with React
Update webpack-config.ts
Jonny Burger2d97eba43d43
diff --git a/packages/bundler/src/webpack-config.ts b/packages/bundler/src/webpack-config.tsindex c6af1b05f1..1ff5450ac9 100644--- a/packages/bundler/src/webpack-config.ts+++ b/packages/bundler/src/webpack-config.ts@@ -85,7 +85,7 @@ export const webpackConfig = ({entry: [// Fast Refresh must come first,// because setup-environment imports ReactDOM.- // If React DOM is imported before Fast Refresh, Fast Refresh does not works+ // If React DOM is imported before Fast Refresh, Fast Refresh does not workenvironment === 'development'? require.resolve('./fast-refresh/runtime.js'): null,