mirror of
https://github.com/vuejs/vue.git
synced 2024-11-22 04:39:46 +00:00
build: add esm browser prod build
This commit is contained in:
parent
861abf4bb9
commit
63f5c6e9f1
@ -84,7 +84,7 @@ const builds = {
|
||||
banner
|
||||
},
|
||||
// Runtime+compiler ES modules build (for direct import in browser)
|
||||
'web-full-esm-browser': {
|
||||
'web-full-esm-browser-dev': {
|
||||
entry: resolve('web/entry-runtime-with-compiler.js'),
|
||||
dest: resolve('dist/vue.esm.browser.js'),
|
||||
format: 'es',
|
||||
@ -93,6 +93,16 @@ const builds = {
|
||||
alias: { he: './entity-decoder' },
|
||||
banner
|
||||
},
|
||||
// Runtime+compiler ES modules build (for direct import in browser)
|
||||
'web-full-esm-browser-prod': {
|
||||
entry: resolve('web/entry-runtime-with-compiler.js'),
|
||||
dest: resolve('dist/vue.esm.browser.min.js'),
|
||||
format: 'es',
|
||||
transpile: false,
|
||||
env: 'production',
|
||||
alias: { he: './entity-decoder' },
|
||||
banner
|
||||
},
|
||||
// runtime-only build (Browser)
|
||||
'web-runtime-dev': {
|
||||
entry: resolve('web/entry-runtime.js'),
|
||||
|
Loading…
Reference in New Issue
Block a user