We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4986d commit c9d1a50Copy full SHA for c9d1a50
config/webpack.config.prod.js
@@ -183,7 +183,27 @@ module.exports = {
183
// Minify the compiled JavaScript.
184
new UglifyJsPlugin({
185
compress: {
186
- warnings: false
+ warnings: false,
187
+ dead_code: true,
188
+ pure_funcs: [
189
+ '_elm_lang$core$Native_Utils.update',
190
+ 'A2',
191
+ 'A3',
192
+ 'A4',
193
+ 'A5',
194
+ 'A6',
195
+ 'A7',
196
+ 'A8',
197
+ 'A9',
198
+ 'F2',
199
+ 'F3',
200
+ 'F4',
201
+ 'F5',
202
+ 'F6',
203
+ 'F7',
204
+ 'F8',
205
+ 'F9'
206
+ ]
207
},
208
output: {
209
comments: false
0 commit comments