babel-preset-env-standalone
v1.6.2
Published
Standalone build of babel-prest-env for use in non-Node.js environments.
Downloads
69
Maintainers
Readme
babel-env-standalone
babel-env-standalone is a standalone build of babel-preset-env for use in non-Node.js environments, including browsers.
Installation
There are several ways to get a copy of babel-preset-env. Pick whichever one you like:
- Install via NPM:
npm install --save babel-env-standalone
- Manually grab
babel-preset-env.js
and/orbabel-preset-env.min.js
from the GitHub releases page. Every release includes these files.
Usage
Load babel-preset-env.js
or babel-preset-env.min.js
in your environment, along with Babel-standalone. This is important: You need to load Babel too!