Skip to content
Add the ability to write es6 scripts with imports/export capabilities
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

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
You can’t perform that action at this time.