@alifd/babel-preset-next
v2.0.0-beta
Published
A babel preset for Next Component.
Downloads
310
Readme
@alifd/babel-preset-next
A babel preset for Next Component.
Install
npm install @alifd/babel-preset-next --save-dev
Presets & Plugins
- babel-preset-react
- babel-preset-env
- babel-preset-stage-0
- babel-plugin-transform-decorators-legacy
- babel-plugin-transform-object-assign
- babel-plugin-transform-react-es6-displayname
- babel-plugin-add-module-exports
- babel-plugin-transform-proto-to-assign
- babel-plugin-transform-runtime
Options
- modules: from babel-preset-env, if not set it, will append babel-plugin-add-module-exports to preset
- runtime: whether or not use babel-plugin-transform-runtime, default value is false