1 2 3 4 5 6 7 8 9
module.exports = { test: /\.erb$/, enforce: 'pre', exclude: /node_modules/, loader: 'rails-erb-loader', options: { runner: 'bin/rails runner', }, };