3.0.0 • Published 4 years ago
@fooxly/babel-preset v3.0.0
Fooxly Babel Preset
The default Babel preset for Fooxly projects.
:rocket: Powered By
- core-js@3
- regenerator-runtime
- @babel/preset-env
- @babel/plugin-proposal-class-properties
- @babel/plugin-proposal-optional-chaining
- @babel/plugin-proposal-export-default-from
- babel-plugin-module-resolver (configured for all
.js
,.jsx
&.json
files in./src
)
:heart: Support us
About 40% of your donation goes to one of the charities we support. For further information or questions please visit our website or contact us via charity@fooxly.com.
:cloud: Installation
using npm
npm install --save-dev @fooxly/babel-preset
using yarn
yarn add -D @fooxly/babel-preset
:triangular_ruler: Usage
using .babelrc
{
"presets": ["@fooxly/babel-preset"]
}
using package.json
...
"babel": {
"presets": ["@fooxly/babel-preset"]
}
...
using React or React Native
Check out @fooxly/babel-preset-react.