2021-12-24 15:02:52 -08:00
|
|
|
const path = require('path')
|
2020-12-24 14:26:54 -08:00
|
|
|
const { environment } = require('@rails/webpacker')
|
2020-12-24 18:31:46 -08:00
|
|
|
const coffee = require('./loaders/coffee')
|
2020-12-24 14:26:54 -08:00
|
|
|
|
2020-12-24 18:31:46 -08:00
|
|
|
environment.loaders.prepend('coffee', coffee)
|
2021-12-24 15:02:52 -08:00
|
|
|
|
|
|
|
environment.config.merge({
|
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
retrospring: path.resolve(__dirname, '..', '..', 'app/javascript/retrospring'),
|
|
|
|
utilities: path.resolve(__dirname, '..', '..', 'app/javascript/retrospring/utilities')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2020-12-24 14:26:54 -08:00
|
|
|
module.exports = environment
|