mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-07 03:26:54 +08:00
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