mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +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.mode(env);
|
||||||
webpackConfig.stats('errors-only');
|
webpackConfig.stats('errors-only');
|
||||||
webpackConfig.externals(config.externals || {});
|
webpackConfig.externals(config.externals || {});
|
||||||
webpackConfig.devtool(false);
|
webpackConfig.devtool(isDev ? config.devtool || 'cheap-module-source-map' : config.devtool);
|
||||||
|
|
||||||
// --------------- cache -----------
|
// --------------- cache -----------
|
||||||
webpackConfig.cache({
|
webpackConfig.cache({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user