diff --git a/webpack.config.js b/webpack.config.js index 481f7c6b06..1cf71fedf8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,7 +25,7 @@ const bundleOutputDir = path.resolve(staticFilesDir, 'studio'); module.exports = (env = {}) => { const dev = env.dev; const hot = env.hot; - const base = baseConfig({ mode: dev ? 'development' : 'production', hot, cache: dev }); + const base = baseConfig({ mode: dev ? 'development' : 'production', hot, cache: dev, transpile: !dev }); if (String(base.module.rules[1].test) !== String(/\.css$/)) { throw Error('Check base webpack configuration for update of location of css loader');