Babel Plugin for DocPad
Compiles es-next into es5 with babel
Convention: .js.babel
docpad install babel
- 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 --- ```
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
- William Malo [email protected] (https://github.com/williammalo/)
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Licensed under the incredibly permissive MIT license
Copyright © William Malo [email protected] (maloweb.com/en)