mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
fix babili options so that they don't mangle our classnames
This commit is contained in:
parent
8f1711cffd
commit
5c0edf5f9f
1 changed files with 16 additions and 2 deletions
18
package.json
18
package.json
|
|
@ -42,8 +42,22 @@
|
|||
],
|
||||
"env": {
|
||||
"production": {
|
||||
"presets": [
|
||||
"babili"
|
||||
"plugins": [
|
||||
"minify-constant-folding",
|
||||
"minify-dead-code-elimination",
|
||||
"minify-flip-comparisons",
|
||||
"minify-guarded-expressions",
|
||||
"minify-infinity",
|
||||
["minify-mangle-names", { "keepClassName": true, "keepFnName": true }],
|
||||
"minify-replace",
|
||||
"minify-simplify",
|
||||
"minify-type-constructors",
|
||||
"transform-member-expression-literals",
|
||||
"transform-merge-sibling-variables",
|
||||
"transform-minify-booleans",
|
||||
"transform-property-literals",
|
||||
"transform-simplify-comparison-operators",
|
||||
"transform-undefined-to-void"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue