Skip to content

Commit 080c44c

Browse files
committed
chore: set fallback devtool
1 parent d79cc45 commit 080c44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/groups/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class BasicGroup extends GroupHelper {
1717
this.opts.options.plugins = [new BundleAnalyzerPlugin()];
1818
}
1919
if (arg == 'sourcemap') {
20-
this.opts.options.devtool = args[arg];
20+
this.opts.options.devtool = args[arg] || 'eval';
2121
}
2222
if (arg == 'entry') {
2323
this.opts.options[arg] = this.resolveFilePath(args[arg], 'index');

0 commit comments

Comments
 (0)