https://github.com/egoist/better-coffee-loader
Better CoffeeScript loader for webpack.
https://github.com/egoist/better-coffee-loader
coffeescript loader webpack
Last synced: about 1 year ago
JSON representation
Better CoffeeScript loader for webpack.
- Host: GitHub
- URL: https://github.com/egoist/better-coffee-loader
- Owner: egoist
- License: mit
- Created: 2017-10-26T03:53:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T23:41:20.000Z (over 3 years ago)
- Last Synced: 2025-04-10T10:13:28.126Z (about 1 year ago)
- Topics: coffeescript, loader, webpack
- Language: JavaScript
- Size: 591 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# better-coffee-loader
[](https://npmjs.com/package/better-coffee-loader) [](https://npmjs.com/package/better-coffee-loader) [](https://circleci.com/gh/egoist/better-coffee-loader/tree/master) [](https://github.com/egoist/donate) [](https://chat.egoist.moe)
## Install
```bash
yarn add coffeescript better-coffee-loader --dev
```
## Usage
webpack.config.js:
```js
module.exports = {
module: {
rules: [
{
test: /\.coffee$/,
loader: 'better-coffee-loader',
// Options for coffeescript compiler
options: {}
}
]
}
}
```
## API
### options
Basically all options in [CoffeeScript's node.js API](http://coffeescript.org/#nodejs-usage). Note that `sourceMap` is always `true` here.
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Author
**better-coffee-loader** © [EGOIST](https://github.com/egoist), Released under the [MIT](./LICENSE) License.
Authored and maintained by EGOIST with help from contributors ([list](https://github.com/egoist/better-coffee-loader/contributors)).
> [github.com/egoist](https://github.com/egoist) · GitHub [@EGOIST](https://github.com/egoist) · Twitter [@_egoistlily](https://twitter.com/_egoistlily)