Skip to content

Commit

Permalink
revert: devtool
Browse files Browse the repository at this point in the history
  • Loading branch information
RiESAEX committed Feb 13, 2023
1 parent 0319b4f commit 8afec60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 8afec60

Please sign in to comment.