mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 22:47:25 +01:00
add preact with webpack
This commit is contained in:
16
config/uglify.js
Normal file
16
config/uglify.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
output: {
|
||||
comments: 0
|
||||
},
|
||||
compress: {
|
||||
unused: 1,
|
||||
warnings: 0,
|
||||
comparisons: 1,
|
||||
conditionals: 1,
|
||||
negate_iife: 0, // <- for `LazyParseWebpackPlugin()`
|
||||
dead_code: 1,
|
||||
if_return: 1,
|
||||
join_vars: 1,
|
||||
evaluate: 1
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user