Get unlimited public & private packages + team-based management with npm Teams.Learn more »

This package has been deprecated

Author message:

this package has been deprecated

babel-preset-syntax-from-presets

1.0.1 • Public • Published

babel-preset-syntax-from-presets

Provide babel-plugin-syntax as preset. Useful for parse-only babel-core/transform

Version Travis CI Quality Coverage Dependencies Gitter

Usage

npm install babel-preset-syntax-from-presets --save

Then in your useBabylon.js:

import { transform } from "babel-core";
 
transform(text, {
  babelrc: false,
  presets: [
    "babel-preset-syntax-from-presets",
  ],
  plugins: [
    "some-custom-plugin",
  ],
});

Contributing

devDependency Status

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Install

npm i babel-preset-syntax-from-presets

DownloadsWeekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar