aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 49bcd76..babea35 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -13,6 +13,12 @@ module.exports = (env) => {
publicPath: "/",
devtoolModuleFilenameTemplate: "file:///" + path.resolve(__dirname, "[resource-path]?[loaders]")
},
+ optimization: {
+ splitChunks: {
+ chunks: 'all',
+ maxSize: 204800,
+ }
+ },
resolve: {
extensions: ['.js', '.jsx', '.ts', '.tsx']
},
@@ -80,7 +86,7 @@ module.exports = (env) => {
new webpack.EnvironmentPlugin({
NODE_ENV: "production",
REACT_APP_SHA: "development",
- REACT_APP_SENTRY_DSN: "development",
+ REACT_APP_SENTRY_DSN: "https://[email protected]/1234",
REACT_APP_BRANCH: "development",
REACT_APP_OAUTH2_CLIENT_ID: "0"
}),