grunt-webpack-zombie-edition ![Build Status](https://travis-ci.org/noomorph/grunt-webpack-zombie-edition.svg?branch=master)
Use webpack with grunt.
Getting Started
Install this grunt plugin next to your project's Gruntfile.js with: npm install grunt-webpack --save-dev
Then add this line to your project's Gruntfile.js
gruntfile:
grunt.loadNpmTasks('grunt-webpack');
Tasks
There are two tasks available
Configuration Example
webpack: {
someName: {
entry: "./client/lib/index.js",
output: {
path: "asserts/",
filename: "[hash].js",
},
stats: {
colors: false,
modules: true,
reasons: true
},
storeStatsTo: "xyz",
progress: false,
failOnError: false,
watch: true,
watchOptions: {
aggregateTimeout: 500,
poll: true
},
keepalive: true,
inline: true,
hot: true,
},
anotherName: {...}
}
grunt-webpack
uses the webpack options.
License
Copyright (c) 2012-2017 Tobias Koppers @sokra
Copyright (c) 2017- Yaroslav Serhieiev @noomorph
Licensed under the MIT license.