Retrospring/config/webpack/environment.js

6 lines
172 B
JavaScript

const { environment } = require('@rails/webpacker')
const coffee = require('./loaders/coffee')
environment.loaders.prepend('coffee', coffee)
module.exports = environment