about summary refs log tree commit diff
path: root/config/webpack/loaders/erb.js
blob: 5b523f8d1ffd4a100a5b8d25115cc3cb8267060f (plain) (blame)
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',
  },
};