feat: Allow Ionic to use a custom babel config
See original GitHub issueFeature Request
Ionic version: React
[x] 4.x
Describe the Feature Request Allow Ionic to use a custom babel config. This would allow users to use plugins and presets the same way other JS projects do, especially React projects.
Describe Preferred Solution
If a .babelrc
or babel.config.js
file is present at root, use that config instead of Ionic’s built in config. Users may have to use an Ionic preset in custom babel configs along with the plugins and other setting they choose.
Describe Alternatives
Allow users to provide babel config in package.json
or in the Ionic config file
Related
Next.js allows babel config info to be added in a .babelrc
file
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
feat: Allow Ionic to use a custom babel config #19704 - GitHub
Allow Ionic to use a custom babel config. This would allow users to use plugins and presets the same way other JS projects...
Read more >How can I change my Ionic React babel config? - Stack Overflow
1 Answer 1 · Install react-app-rewired and customize-cra. (yarn/npm). yarn add -D react-app-rewired customize-cra · Create config-overrides.js at ...
Read more >Configure Babel
Babel can be configured! Many other tools have similar configs: ESLint ( .eslintrc ), Prettier ( .prettierrc ). All Babel API options are...
Read more >Mobile App Development with Ionic, Revised Edition
At a high level, Ionic 2 is similar to Ionic 1. Components are used by writing custom. HTML tags that Ionic turns into...
Read more >Maintain a Global Configuration File - Ionic Framework
Set and print configuration values from project config files and the global CLI config file with Ionic CLI. Read to learn more about...
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
@liamdebeasi ah I didn’t realize it would behave just like CRA. Thanks for the response!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.