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: {
|
experiments: {
|
||||||
syncWebAssembly: true,
|
syncWebAssembly: true,
|
||||||
},
|
},
|
||||||
devtool: isDev ? 'eval-source-map' : false,
|
devtool: isDev ? 'eval-source-map' : 'source-map',
|
||||||
devServer: {
|
devServer: {
|
||||||
headers: {
|
headers: {
|
||||||
'Access-Control-Allow-Origin': '*',
|
'Access-Control-Allow-Origin': '*',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user