railshot-webpack-plugin
v1.0.2
Published
Wepback plugin that works with `webpackrails` ruby gem.
Downloads
2
Readme
railshot-webpack-plugin
Wepback plugin that works with webpackrails
ruby gem.
Install
Just run
npm install railshot-webpack-plugin
Usage
Your webpack.config.js
file
var railshotPlugin = require('railshot-webpack-plugin');
// no entry here
module.exports = {
plugins: [
railshotPlugin()
],
webpackrails: {
root: 'path_to_your_rails_root_path', // this is optional
}
}
License
MIT