0.0.2 • Published 5 years ago
hexo-renderer-babelify v0.0.2
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