Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Webpack changes

Matt Roberts6562a7ae9f99
diff --git a/webpack.config.js b/webpack.config.js
index 6da1c3987..ca5060d12 100755
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -68,7 +68,7 @@ module.exports = {
performance: {
maxEntrypointSize: 368640 * maxSizeFactor, // 360 KiB. Should ideally be ~240 KiB
maxAssetSize: 194560 * maxSizeFactor, // 190 KiB
- hints: "error",
+ hints: "warning",
},
module: {
rules: [
@@ -114,6 +114,11 @@ module.exports = {
name: "vendor",
test: /(react($|\/)|react-dom|tslib|react-textarea-autosize|@lingui\/core)/,
},
+ slate: {
+ chunks: "all",
+ name: "slate",
+ test: /[\\/]node_modules[\\/](slate|slate-react|slate-history)[\\/]/,
+ },
},
},
},