about summary refs log tree commit diff
path: root/config/webpack/loaders/erb.js
blob: 4cd7d6849559d78d9b29f230e43b4ab6111e84c9 (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'
  }
}