Don't use esm versions of deps in preload bundle
This commit is contained in:
parent
7d55421d8f
commit
518f3ac017
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ const preloadConfig: Configuration = {
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js'],
|
extensions: ['.js'],
|
||||||
alias: {},
|
alias: {},
|
||||||
|
mainFields: ['browser', 'main'],
|
||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
({ request = '' }, callback) => {
|
({ request = '' }, callback) => {
|
||||||
|
|
Loading…
Reference in a new issue