question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: Allow Ionic to use a custom babel config

See original GitHub issue

Feature 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aej11acommented, Oct 22, 2019

@liamdebeasi ah I didn’t realize it would behave just like CRA. Thanks for the response!

0reactions
ionitron-bot[bot]commented, Nov 21, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found