Don't use esm versions of deps in preload bundle

This commit is contained in:
Fedor Indutny 2021-04-14 16:58:26 -07:00 committed by GitHub
parent 7d55421d8f
commit 518f3ac017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ const preloadConfig: Configuration = {
resolve: {
extensions: ['.js'],
alias: {},
mainFields: ['browser', 'main'],
},
externals: [
({ request = '' }, callback) => {