Skip to content

Instantly share code, notes, and snippets.

@pechitook
Created August 22, 2016 03:30
Show Gist options
  • Save pechitook/622389a0502bbba38156f447cefe2238 to your computer and use it in GitHub Desktop.
Save pechitook/622389a0502bbba38156f447cefe2238 to your computer and use it in GitHub Desktop.
/* eslint-disable no-var */
var merge = require('webpack-merge');
var baseConfig = require('./webpack.config.base');
var Dashboard = require('webpack-dashboard');
var DashboardPlugin = require('webpack-dashboard/plugin');
var dashboard = new Dashboard();
var devConfig = {
plugins: [
new DashboardPlugin(dashboard.setData)
]
};
module.exports = merge.smart(baseConfig, devConfig);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment