broccoli-webpack-fast

1.0.1 • Public • Published

broccoli-webpack-fast

A Broccoli plugin for webpack with fast rebuilds. It has one limitation (for now) - you can't pass broccoli tree to it.

This module has been created as an alternative to webpack-broccoli which has terrible rebuild times.

Installation

Just use npm:

$ npm install --save-dev broccoli-webpack-fast

Usage

Webpack plugin accepts webpack config as the only argument.

var path = require('path')
var webpackFast = require('broccoli-webpack-fast')
 
var jsTree = webpackFast({
  entry: './main',
  context: path.resolve('app/js'),
  output: {filename: 'app.js'},
  externals: [{'react': 'React', 'jquery': '$'}],
  devtool: 'eval-source-map'
})
 
module.exports = jsTree

Package Sidebar

Install

npm i broccoli-webpack-fast

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • rafales