mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:29:52 +01:00
16 lines
448 B
JavaScript
16 lines
448 B
JavaScript
const path = require('path')
|
|
const { environment } = require('@rails/webpacker')
|
|
const coffee = require('./loaders/coffee')
|
|
|
|
environment.loaders.prepend('coffee', coffee)
|
|
|
|
environment.config.merge({
|
|
resolve: {
|
|
alias: {
|
|
retrospring: path.resolve(__dirname, '..', '..', 'app/javascript/retrospring'),
|
|
utilities: path.resolve(__dirname, '..', '..', 'app/javascript/retrospring/utilities')
|
|
}
|
|
}
|
|
})
|
|
|
|
module.exports = environment
|