mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
14 lines
257 B
JavaScript
14 lines
257 B
JavaScript
module.exports = {
|
|
test: /\.js\.erb$/,
|
|
enforce: 'pre',
|
|
exclude: /node_modules/,
|
|
use: [
|
|
{
|
|
loader: 'rails-erb-loader',
|
|
options: {
|
|
runner: (/^win/.test(process.platform) ? 'ruby ' : '') + 'bin/rails runner'
|
|
}
|
|
}
|
|
]
|
|
};
|