ember-cli-babel: Build Error: Does the ember-cli-babel version 7 and above provide no support for babel compact option?
I was using ember-cli-babel version 6.16.0 and in my ember-cli-build.js I specified a config
babel: {
compact: false
}
At this version during build I faced no errors, Recently I upgraded my ember-cli-babel version to 7.1.2 and faced an error during build Invalid Option: compact is not a valid top-level option. I presume this is thrown from babel-preset-env@7.0 and above. Can’t we specify compact option for babel for ember-cli-babel@7.0 onwards(is it handled internally) or it is not supported? I am pretty sure babel provides support for this option.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 26 (7 by maintainers)
Any updates on this we could greatly benefit from this as well
Have this same issue as well, build times are unacceptably longer because this option is no longer available for babel. Is there a workaround that can be implemented in the interim?
What is the progress on this issue? Not being able to specify
compact: falsein development is a slight issue for me as my build time has increased. This is because some of the node modules like lodash and sinon once installed have sizes greater than 500KB and will emit a warning sayingstyles have been deoptimized.+1, build times are ~5mins due to firebase
Correct. That is the current implementation. I think we can fix this in general, but that is where things are at the moment.