roots-webpack

0.0.3 • Public • Published

Roots Webpack

npm tests dependencies Coverage Status

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 such

    webpack = require('roots-webpack')
     
    module.exports =
      extensions: [webpack(entry: './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

Readme

Keywords

Package Sidebar

Install

npm i roots-webpack

Weekly Downloads

6

Version

0.0.3

License

MIT

Last publish

Collaborators

  • jescalan
  • hhsnopek
  • kylemac