mirror of
https://github.com/scratchfoundation/scratch-webpack-configuration.git
synced 2025-03-28 21:50:04 -04:00
fix: recognize more browserslist targets
This commit is contained in:
parent
77d4ecb307
commit
75fd985720
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ class ScratchWebpackConfigBuilder {
|
|||
path: path.resolve(this._distPath, 'node')
|
||||
}
|
||||
});
|
||||
} else if (target === 'browserslist') {
|
||||
} else if (target.startsWith('browserslist')) {
|
||||
this.merge({
|
||||
externalsPresets: {web: true},
|
||||
output: {
|
||||
|
|
Loading…
Add table
Reference in a new issue