🎥 Make videos programmatically with React
Update webpack-config.ts
Jonny Burgerb7745246e292
diff --git a/packages/bundler/src/webpack-config.ts b/packages/bundler/src/webpack-config.tsindex 8129c3db46..01f9ec2774 100644--- a/packages/bundler/src/webpack-config.ts+++ b/packages/bundler/src/webpack-config.ts@@ -69,17 +69,24 @@ export const webpackConfig = ({poll: number | null;}): [string, WebpackConfiguration] => {let lastProgress = 0;++ const isBun = typeof Bun !== 'undefined';+ if (isBun) {+ console.warn('Unsupported feature in Bun: lazyComponent is not supported');+ }+const conf: WebpackConfiguration = webpackOverride({optimization: {minimize: false,},experiments: {- lazyCompilation:- environment === 'production'- ? false- : {- entries: false,- },+ lazyCompilation: Bun+ ? false+ : environment === 'production'+ ? false+ : {+ entries: false,+ },},watchOptions: {poll: poll ?? undefined,