Skip to content

Commit

Permalink
Constant folding minification was heavily broken. Removed it for now.…
Browse files Browse the repository at this point in the history
… See also: babel/minify#577
  • Loading branch information
swernerx committed Jun 14, 2017
1 parent 7119983 commit b533ef6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
12 changes: 1 addition & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -45,7 +45,6 @@
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-fast-async": "^6.1.2",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-minify-constant-folding": "^0.1.2",
"babel-plugin-minify-dead-code-elimination": "^0.1.7",
"babel-plugin-minify-flip-comparisons": "^0.1.2",
"babel-plugin-minify-guarded-expressions": "^0.1.2",
Expand Down
1 change: 0 additions & 1 deletion src/config/createLatestConfig.js
Expand Up @@ -43,7 +43,6 @@ export function createHelper({ mode = "classic", minified = false, runtime = tru
// are regarded as being useful in "normal" publishing while others are
// too aggressive to lead to human readable code.
const additionalPlugins = plugins.concat([
"babel-plugin-minify-constant-folding",
"babel-plugin-minify-dead-code-elimination",
"babel-plugin-minify-flip-comparisons",
"babel-plugin-minify-guarded-expressions",
Expand Down

0 comments on commit b533ef6

Please sign in to comment.