1.1.1 • Published 8 years ago
uh-erb-loader v1.1.1
ERB loader
PROJECT RENAMED: Please use rails-erb-loader
instead
Simple .erb
loader for use with Webpack in a Ruby on Rails project. Files are piped through the ERB
via a rails runner
call on commandline (see source for more info).
Installation
Install from npm
$ npm install uh-erb-loader --save-dev
Example Webpack config
// webpack.config.js
module.exports = {
preLoaders: [
{ test: /\.erb$/, loader: 'uh-erb-loader' },
]
};