hexo-renderer-babelify
v0.0.2
Published
Add the ability to write es6 scripts with imports/export capabilities
Downloads
2
Readme
hexo-renderer-babelify
Add support for ES6 javascript with import/export capability.
Install
$ npm install hexo-renderer-babelify
Options
You can configure this plugin in _config.yml
.
babelify:
presets:
- '@babel/preset-env'
sourceMaps: true
- presets - Adds presets to babel config
- sourceMaps - Adds sourceMaps to the final bundles