There is a grunt plugin for using webpack and the webpack-dev-server: grunt-webpack.
It?s pretty simple to use:
module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-webpack");
grunt.initConfig({
webpack: {
options: {
// configuration for all builds
},
build: {
// configuration for this build
}
},
"webpack-dev-server": {
options: {
webpack: {