Skip to content

Commit

Permalink
app: Fix missing deserialization model names
Browse files Browse the repository at this point in the history
  • Loading branch information
evanpurkhiser committed Oct 19, 2020
1 parent 7e1f20e commit dd5623f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webpack.config.base.ts
Expand Up @@ -37,6 +37,14 @@ export const baseConfig: webpack.Configuration = {
},
devtool: IS_PROD ? 'source-map' : 'eval-source-map',

optimization: {
minimizer: [
// Avoid mangling class names as there are places we reflectively use the
// constructor name
new TerserPlugin({terserOptions: {mangle: false}}),
],
},

plugins: [new webpack.EnvironmentPlugin(envConfig)],

module: {
Expand Down

0 comments on commit dd5623f

Please sign in to comment.