@@ -38,7 +38,7 @@ const configs = {
38
38
input : absolute ( 'runtime/entries/index.js' ) ,
39
39
output : {
40
40
name : 'Weex' ,
41
- file : absolute ( 'pre-build /weex-js-framework' ) ,
41
+ file : absolute ( 'dist /weex-js-framework' ) ,
42
42
banner : `(this.nativeLog || function(s) {console.log(s)})`
43
43
+ `('START JS FRAMEWORK ${ subversion . framework } , Build ${ now ( ) } . `
44
44
+ `(Vue: ${ deps [ 'weex-vue-framework' ] } , Rax: ${ deps [ 'weex-rax-framework' ] } )');\n`
@@ -49,7 +49,7 @@ const configs = {
49
49
input : absolute ( 'runtime/entries/env.js' ) ,
50
50
output : {
51
51
name : 'WeexEnvironmentAPIs' ,
52
- file : absolute ( 'pre-build /weex-env' ) ,
52
+ file : absolute ( 'dist /weex-env' ) ,
53
53
banner : `/* Prepare Weex Environment APIs ${ subversion . framework } , Build ${ now ( ) } . */\n\n`
54
54
+ `var global = this; var process = {env:{}};`
55
55
}
@@ -58,14 +58,14 @@ const configs = {
58
58
input : absolute ( 'runtime/entries/polyfill.js' ) ,
59
59
output : {
60
60
format : 'iife' ,
61
- file : absolute ( 'pre-build /weex-polyfill' )
61
+ file : absolute ( 'dist /weex-polyfill' )
62
62
}
63
63
} ,
64
64
'weex-vue' : {
65
65
input : absolute ( 'runtime/entries/vue.js' ) ,
66
66
output : {
67
67
name : 'WeexVue' ,
68
- file : absolute ( 'pre-build /weex-vue' ) ,
68
+ file : absolute ( 'dist /weex-vue' ) ,
69
69
banner : `(this.nativeLog || function(s) {console.log(s)})`
70
70
+ `('Weex JS Framework ${ subversion . framework } , Build ${ now ( ) } . `
71
71
+ `(Vue: ${ deps [ 'weex-vue-framework' ] } )');\n`
@@ -76,7 +76,7 @@ const configs = {
76
76
input : absolute ( 'runtime/entries/rax.js' ) ,
77
77
output : {
78
78
name : 'WeexRax' ,
79
- file : absolute ( 'pre-build /weex-rax' ) ,
79
+ file : absolute ( 'dist /weex-rax' ) ,
80
80
banner : `(this.nativeLog || function(s) {console.log(s)})`
81
81
+ `('Weex JS Framework ${ subversion . framework } , Build ${ now ( ) } . `
82
82
+ `(Rax: ${ deps [ 'weex-rax-framework' ] } )');\n`
@@ -95,7 +95,7 @@ const configs = {
95
95
input : absolute ( 'runtime/entries/legacy.js' ) ,
96
96
output : {
97
97
name : 'WeexLegacy' ,
98
- file : absolute ( 'pre-build /weex-legacy' ) ,
98
+ file : absolute ( 'dist /weex-legacy' ) ,
99
99
banner : `(this.nativeLog || function(s) {console.log(s)})`
100
100
+ `('Weex Legacy Framework ${ subversion . framework } , Build ${ now ( ) } .');\n`
101
101
+ frameworkBanner
0 commit comments