Retrospring/config/webpack/loaders/coffee.js

13 lines
202 B
JavaScript

module.exports = {
test: /\.coffee(\.erb)?$/,
use: [{
loader: 'coffee-loader',
options: {
bare: false,
transpile: {
presets: ['@babel/preset-env'],
},
}
}]
}