Просмотр исходного кода

add license information to vue.common.js (#3835)

Sebastian Schweizer 9 лет назад
Родитель
Сommit
6541e68aaa
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      build/config.js

+ 4 - 2
build/config.js

@@ -19,14 +19,16 @@ const builds = {
   'web-runtime-dev': {
     entry: path.resolve(__dirname, '../src/entries/web-runtime.js'),
     dest: path.resolve(__dirname, '../dist/vue.common.js'),
-    format: 'cjs'
+    format: 'cjs',
+    banner
   },
   // Minified runtime, only for filze size monitoring
   'web-runtime-prod': {
     entry: path.resolve(__dirname, '../src/entries/web-runtime.js'),
     dest: path.resolve(__dirname, '../dist/vue.common.min.js'),
     format: 'umd',
-    env: 'production'
+    env: 'production',
+    banner
   },
   // Runtime+compiler standalone developement build.
   'web-standalone-dev': {