diff --git a/webpack-preload.config.ts b/webpack-preload.config.ts index ef9235f98..ee4210c49 100644 --- a/webpack-preload.config.ts +++ b/webpack-preload.config.ts @@ -59,6 +59,7 @@ const preloadConfig: Configuration = { resolve: { extensions: ['.js'], alias: {}, + mainFields: ['browser', 'main'], }, externals: [ ({ request = '' }, callback) => {