Skip to content

Commit 75fd985

Browse files
committed
fix: recognize more browserslist targets
1 parent 77d4ecb commit 75fd985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class ScratchWebpackConfigBuilder {
110110
path: path.resolve(this._distPath, 'node')
111111
}
112112
});
113-
} else if (target === 'browserslist') {
113+
} else if (target.startsWith('browserslist')) {
114114
this.merge({
115115
externalsPresets: {web: true},
116116
output: {

0 commit comments

Comments
 (0)