scinote-web/config/webpack/loaders/erb.js

10 lines
162 B
JavaScript
Raw Normal View History

2017-07-12 22:41:55 +08:00
module.exports = {
test: /\.erb$/,
enforce: 'pre',
exclude: /node_modules/,
loader: 'rails-erb-loader',
options: {
runner: 'bin/rails runner'
}
}