@cadent/babel-preset-cadent-react
v7.0.1
Published
Global Babel presets for all Cadent React applications
Downloads
458
Keywords
Readme
babel-preset-cadent-react
Overview
This package contains the presets used by all Cadent React applications
Internal Usage
This package is automatically included in all Cadent bootstrapped projects. There is no need to include it manually.
External Usage
This package can be used externally as a babel-preset if you so choose.
You'll need to install Babel. Most of what you need to get started is here.
Download @cadent/babel-preset-cadent-react
package
npm install --save-dev @cadent/babel-preset-cadent-react
Install the other packages you'll need. You can find them in the package.json
Create a babel.config.js
file at the root of your project and add the following code
module.exports = {
presets: ["@cadent/babel-preset-cadent-react"]
};