Sha256: a509c18b9a5e222af9578f316fca7baac4b6432d41d7d7f5d5948a8238c5c4e7
Contents?: true
Size: 276 Bytes
Versions: 2
Compression:
Stored size: 276 Bytes
Contents
const runner = /^win/.test(process.platform) ? 'ruby ' : '' module.exports = { test: /\.erb$/, enforce: 'pre', exclude: /node_modules/, use: [ { loader: require.resolve('rails-erb-loader'), options: { runner: `${runner}bin/rails runner` } } ] }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webpacker-6.0.0.pre.2 | package/rules/erb.js |
webpacker-6.0.0.pre.1 | package/rules/erb.js |