mastodon-docker-playground/config/webpack/loaders/erb.js

10 lines
165 B
JavaScript

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