mirror of
https://github.com/scratchfoundation/scratch-webpack-configuration.git
synced 2025-08-13 14:40:40 -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')
|
path: path.resolve(this._distPath, 'node')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (target === 'browserslist') {
|
} else if (target.startsWith('browserslist')) {
|
||||||
this.merge({
|
this.merge({
|
||||||
externalsPresets: {web: true},
|
externalsPresets: {web: true},
|
||||||
output: {
|
output: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue