mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
revert: devtool
This commit is contained in:
parent
0319b4f3bc
commit
8afec60af7
@ -60,7 +60,7 @@ export default async function getConfig({ api, cwd, config, env, entry = {}, mod
|
||||
webpackConfig.mode(env);
|
||||
webpackConfig.stats('errors-only');
|
||||
webpackConfig.externals(config.externals || {});
|
||||
webpackConfig.devtool(false);
|
||||
webpackConfig.devtool(isDev ? config.devtool || 'cheap-module-source-map' : config.devtool);
|
||||
|
||||
// --------------- cache -----------
|
||||
webpackConfig.cache({
|
||||
|
Loading…
x
Reference in New Issue
Block a user