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 = {
22
22
format : 'cjs' ,
23
23
banner
24
24
} ,
25
- // Minified runtime, only for filze size monitoring
26
- 'web-runtime-prod ' : {
25
+ // runtime- only build for CDN
26
+ 'web-runtime-cdn-dev ' : {
27
27
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' ) ,
29
36
format : 'umd' ,
30
37
env : 'production' ,
31
38
banner
Original file line number Diff line number Diff line change 6
6
"typings" : " types/index.d.ts" ,
7
7
"files" : [
8
8
" dist/vue.common.js" ,
9
+ " dist/vue.runtime.js" ,
10
+ " dist/vue.runtime.min.js" ,
9
11
" dist/vue.js" ,
10
12
" dist/vue.min.js" ,
11
13
" src" ,
You can’t perform that action at this time.
0 commit comments