Roots Webpack
Webpack as an asset pipeline for roots.
Note: This project is in early development, and versioning is a little different. Read this for more details.
Installation
-
make sure you are in your roots project directory
-
npm install roots-webpack --save
-
modify your
app.coffee
file to include the extension, as suchwebpack = require'roots-webpack'module.exports =extensions: webpackentry: './index'output: filename: 'bundle.js'
Usage
As long as you pass in entries everything will be compiled into bundle.js
, by default. You may specify any other options by following Webpack's configuration. The object passed into this extension is a webpack configuration object, passed straight into webpack.
License & Contributing
- Details on the license can be found here
- Details on running tests and contributing can be found here