houdini/config/webpack/environment.js

10 lines
267 B
JavaScript
Raw Normal View History

2019-11-05 16:39:13 -06:00
const { environment } = require('@rails/webpacker')
2019-11-18 15:51:37 -06:00
const erb = require('./loaders/erb')
2019-11-06 14:36:28 -06:00
const typescript = require('./loaders/typescript')
environment.loaders.prepend('typescript', typescript)
2019-11-05 16:39:13 -06:00
2019-11-15 16:28:55 -06:00
environment.loaders.prepend('erb', erb)
2019-11-18 15:51:37 -06:00
2019-11-05 16:39:13 -06:00
module.exports = environment