glitch-social/config/webpack/loaders/erb.js

10 lines
162 B
JavaScript

module.exports = {
test: /\.erb$/,
enforce: 'pre',
exclude: /node_modules/,
loader: 'rails-erb-loader',
options: {
runner: 'bin/rails runner'
}
}