Build Error: Does the ember-cli-babel version 7 and above provide no support for babel compact option?
See original GitHub issueI 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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (8 by maintainers)
Top Results From Across the Web
Build Error: Does the ember-cli-babel version 7 and above provide ...
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...
Read more >Options - Babel.js
In older Babel 7 versions, only babel.config.js is supported. "root" - Passes the "root" value through as unchanged. " ...
Read more >ember-cli-babel | Yarn - Package Manager
This Ember-CLI plugin uses Babel and @babel/preset-env to allow you to use latest Javascript in your Ember CLI project. Table of Contents. Installation ......
Read more >Ember-cli is ignoring options .babelrc - Stack Overflow
While you can configure babel and ember-cli-babel in your ember-cli-build.js , I think compact will not work because of this open issue.
Read more >Setting Up a Babel Project - ECMAScript 6 Tutorial
Current browsers don't support all the new ECMAScript 6 (aka ECMAScript ... Babel can also compile other versions of ECMAScript as well as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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?