https://github.com/docpad/docpad-plugin-babel
babel plugin for docpad
https://github.com/docpad/docpad-plugin-babel
docpad-plugin
Last synced: about 1 year ago
JSON representation
babel plugin for docpad
- Host: GitHub
- URL: https://github.com/docpad/docpad-plugin-babel
- Owner: docpad
- License: other
- Created: 2015-09-09T15:02:03.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-07T19:42:23.000Z (over 2 years ago)
- Last Synced: 2025-03-25T19:49:03.250Z (about 1 year ago)
- Topics: docpad-plugin
- Language: JavaScript
- Homepage:
- Size: 7.83 MB
- Stars: 1
- Watchers: 11
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
docpad-plugin-babel
DocPad plugin to compile es-next to es5 using babel
Compiles es-next into es5 with [babel](http://babeljs.io)
Convention: `.js.babel`
## Usage
### Common Errors
- ERROR: **`require is not defined`** error when using ES6 `import` statements:
- This is fixed easily with the [docplad-plugin-browserifydocs](https://github.com/docpad/docpad-plugin-browserifydocs) plugin:
- `docpad install browserifydocs`
- Add this to the top of your `.js.babel` file :
```
---
browserify: true
---
```
Install
Install this DocPad plugin by entering docpad install babel into your terminal.
History
Discover the release history by heading on over to the HISTORY.md file.
Contribute
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Backers
Maintainers
These amazing people are maintaining this project:
Sponsors
No sponsors yet! Will you be the first?
Contributors
These amazing people have contributed code to this project:
-
Benjamin Lupton — view contributions -
Guilherme Ventura — view contributions - Jimmy King
-
Michael Duane Mooring — view contributions - Michael Duane Mooring
-
Sebastian Domagala — view contributions -
William Malo — view contributions
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
License
Unless stated otherwise all works are:
- Copyright © William Malo
and licensed under: