Admin: Enable sourcemaps in development mode

This commit is contained in:
Gustav Hansen 2022-07-19 14:26:57 +02:00
parent 0aa7c77e27
commit 8717d18ac2

View File

@ -52,7 +52,7 @@ module.exports = ({
return {
mode: isProduction ? 'production' : 'development',
bail: isProduction ? true : false,
devtool: false,
devtool: isProduction ? false : 'eval-source-map',
experiments: {
topLevelAwait: true,
},