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
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
)
- Commit your changes (
git commit -am 'Add some feature'
)
- Push to the branch (
git push origin my-new-feature
)
- Create new Pull Request
/babel-preset-syntax-from-presets/
//
Package Sidebar
Install
npm i babel-preset-syntax-from-presets
Weekly Downloads