Created
August 22, 2016 03:30
-
-
Save pechitook/622389a0502bbba38156f447cefe2238 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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