Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel-plugin-minify-constant-folding v0.1.2 #584

Closed
webyonet opened this issue Jun 15, 2017 · 4 comments
Closed

babel-plugin-minify-constant-folding v0.1.2 #584

webyonet opened this issue Jun 15, 2017 · 4 comments

Comments

@webyonet
Copy link

webyonet commented Jun 15, 2017

The whole project started to fail when I update to version 0.1.2. I get a lot of errors and especially constructor error.

.babelrc

{
"cacheDirectory": true,
"plugins": [
["transform-runtime", {
"helpers": true,
"polyfill": false,
"regenerator": true
}],
"jsx-control-statements",
"transform-flow-strip-types",
"transform-remove-console",
"transform-remove-debugger",
"minify-constant-folding",
"minify-guarded-expressions",
"minify-type-constructors",
"transform-minify-booleans",
"transform-property-literals",
"minify-empty-function",
["minify-dead-code-elimination", { "optimizeRawSize": true }]
],
"presets": [
"es2017",
"es2016",
"es2015",
"stage-0",
"react"
]
}

@boopathi
Copy link
Member

Can you elaborate more on what errors you get -

  1. Code to reproduce
  2. Stack Trace

@webyonet
Copy link
Author

webyonet commented Jun 16, 2017

parameters cannot be sent to the react components after this version
and
other node_modules started to work inconsistently

please rollback to 0.1.1 version!

@vigneshshanmugam
Copy link
Member

@webyonet can you try with the new version 0.1.3, might have been the cause #576

@webyonet
Copy link
Author

webyonet commented Jul 4, 2017

Thanks @vigneshshanmugam

@webyonet webyonet closed this as completed Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants