mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-28 02:24:48 +00:00
Merge pull request #90 from pauloramires/dev
Add material.debug.js to dist folder
This commit is contained in:
commit
8088820b0e
2 changed files with 13 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
11
build/webpack/debug-lib.js
Normal file
11
build/webpack/debug-lib.js
Normal 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: []
|
||||
});
|
||||
Loading…
Reference in a new issue