File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,17 @@ const builds = {
2222 format : 'cjs' ,
2323 banner
2424 } ,
25- // Minified runtime, only for filze size monitoring
26- 'web-runtime-prod ' : {
25+ // runtime- only build for CDN
26+ 'web-runtime-cdn-dev ' : {
2727 entry : path . resolve ( __dirname , '../src/entries/web-runtime.js' ) ,
28- dest : path . resolve ( __dirname , '../dist/vue.common.min.js' ) ,
28+ dest : path . resolve ( __dirname , '../dist/vue.runtime.js' ) ,
29+ format : 'umd' ,
30+ banner
31+ } ,
32+ // runtime-only production build for CDN
33+ 'web-runtime-cdn-prod' : {
34+ entry : path . resolve ( __dirname , '../src/entries/web-runtime.js' ) ,
35+ dest : path . resolve ( __dirname , '../dist/vue.runtime.min.js' ) ,
2936 format : 'umd' ,
3037 env : 'production' ,
3138 banner
Original file line number Diff line number Diff line change 66 "typings" : " types/index.d.ts" ,
77 "files" : [
88 " dist/vue.common.js" ,
9+ " dist/vue.runtime.js" ,
10+ " dist/vue.runtime.min.js" ,
911 " dist/vue.js" ,
1012 " dist/vue.min.js" ,
1113 " src" ,
You can’t perform that action at this time.
0 commit comments