retrospring/config/webpack/loaders/coffee.js
2020-12-25 18:22:03 +01:00

12 lines
202 B
JavaScript

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