coffee-script-brunch v4.0.0
coffee-script-brunch
Adds CoffeeScript support to Brunch.
Installation
Install the plugin via npm with npm install -S coffee-script-brunch
.
Configuration
You can set the bare
option in your brunch config (such as brunch-config.js
):
modules.exports = {
// ...
plugins: {
coffeescript: {
bare: true
}
}
};
Transpilation is also supported. You
can set transpile
to true
to let babel find its configuration in the normal
way or you can pass a configuration directly. Make sure you have @babel/core
and any relevant plugins installed.
modules.exports = {
// ...
plugins: {
coffeescript: {
transpile: true,
// or:
// transpile: {presets: ["@babel/env"]}
}
}
};
License
The MIT License
4 years ago
6 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
9 years ago
9 years ago
10 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago