aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/website/webpack.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js
index 1b213b339..ec265be93 100644
--- a/packages/website/webpack.config.js
+++ b/packages/website/webpack.config.js
@@ -17,6 +17,7 @@ const config = {
chunkFilename: 'bundle-[name].js',
publicPath: '/',
},
+ devtool: 'source-map',
resolve: {
modules: [path.join(__dirname, '/ts'), 'node_modules'],
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.md'],
@@ -90,7 +91,6 @@ const config = {
module.exports = (_env, argv) => {
let plugins = [];
if (argv.mode === 'development') {
- config.devtool = 'source-map';
config.mode = 'development';
} else {
config.mode = 'production';