2.5.0 • Published 3 years ago
docpad-plugin-babel v2.5.0
DocPad plugin to compile es-next to es5 using babel
Compiles es-next into es5 with babel
Convention: .js.babel
Usage
Common Errors
- ERROR:
require is not defined
error when using ES6import
statements: - This is fixed easily with the docplad-plugin-browserifydocs plugin:
docpad install browserifydocs
- Add this to the top of your
.js.babel
file :--- browserify: true ---
Install this DocPad plugin by entering docpad install babel into your terminal.
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under: