11 lines
310 B
JavaScript
11 lines
310 B
JavaScript
const { environment } = require('@rails/webpacker')
|
|
const erb = require('./loaders/erb')
|
|
const typescript = require('./loaders/typescript')
|
|
|
|
environment.loaders.prepend('typescript', typescript)
|
|
|
|
environment.loaders.prepend('erb', erb)
|
|
|
|
environment.loaders.delete('nodeModules')
|
|
|
|
module.exports = environment
|