mirror of
https://github.com/strapi/strapi.git
synced 2025-11-11 07:39:16 +00:00
Admin: Enable sourcemaps in development mode
This commit is contained in:
parent
0aa7c77e27
commit
8717d18ac2
@ -52,7 +52,7 @@ module.exports = ({
|
|||||||
return {
|
return {
|
||||||
mode: isProduction ? 'production' : 'development',
|
mode: isProduction ? 'production' : 'development',
|
||||||
bail: isProduction ? true : false,
|
bail: isProduction ? true : false,
|
||||||
devtool: false,
|
devtool: isProduction ? false : 'eval-source-map',
|
||||||
experiments: {
|
experiments: {
|
||||||
topLevelAwait: true,
|
topLevelAwait: true,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user