File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ module . exports = {
2+ entry : './src/index.js' ,
3+ output : {
4+ path : './dist' ,
5+ filename : 'vue-router.js' ,
6+ library : 'VueRouter' ,
7+ libraryTarget : 'umd'
8+ } ,
9+ module : {
10+ loaders : [
11+ {
12+ test : / .j s / ,
13+ exclude : / n o d e _ m o d u l e s / ,
14+ loader : 'babel?optional[]=runtime'
15+ }
16+ ]
17+ }
18+ }
Original file line number Diff line number Diff line change 44 "description" : " A router for Vue.js" ,
55 "main" : " lib/index.js" ,
66 "scripts" : {
7- "dev" : " npm run serve & npm run serve-test" ,
7+ "dev" : " npm run serve & npm run serve-test & webpack --watch --config build/webpack.dev.config.js " ,
88 "lint" : " eslint src build test/e2e test/unit/specs" ,
99 "unit" : " ./node_modules/karma/bin/karma start build/karma.config.js" ,
1010 "build" : " babel ./src --optional runtime --out-dir lib && webpack --config build/webpack.build.dev.config.js && webpack --config build/webpack.build.min.config.js" ,
You can’t perform that action at this time.
0 commit comments