@cadent/babel-preset-cadent-node
v5.0.4
Published
Global Babel presets for all Cadent node applications
Downloads
10
Keywords
Readme
babel-preset-cadent-node
Overview
This package contains the presets used by all Cadent applications written in NodeJs
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-node
package
npm install --save-dev @cadent/babel-preset-cadent-node
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-node"]
};