Add support for ES6 javascript with import/export capability.
$ npm install hexo-renderer-babelifyYou 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