feat: generate source maps for production
This commit is contained in:
parent
7d9b34ecc9
commit
46cccdb708
@ -142,7 +142,7 @@ export default function (env?: Env): webpack.Configuration {
|
||||
experiments: {
|
||||
syncWebAssembly: true,
|
||||
},
|
||||
devtool: isDev ? 'eval-source-map' : false,
|
||||
devtool: isDev ? 'eval-source-map' : 'source-map',
|
||||
devServer: {
|
||||
headers: {
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
|
Loading…
Reference in New Issue
Block a user