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