Merge pull request #90 from pauloramires/dev

Add material.debug.js to dist folder
This commit is contained in:
Marcos Moura 2016-11-21 01:30:29 -02:00 committed by GitHub
commit 8088820b0e
2 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,6 @@
import webpack from 'webpack';
import build from './build';
import webpackConfig from '../webpack/prod-lib';
import webpackDebugConfig from '../webpack/debug-lib';
webpack(webpackConfig, build);
webpack([webpackConfig, webpackDebugConfig], build);

View file

@ -0,0 +1,11 @@
import merge from 'webpack-merge';
import prodConfig from './prod-lib';
export default merge(prodConfig, {
output: {
filename: '[name].debug.js'
},
devtool: 'source-map',
plugins: []
});