You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ta...@apache.org on 2017/07/28 09:12:21 UTC

[42/43] incubator-weex git commit: * [html5] fix release tests.

* [html5] fix release tests.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/c45b53cd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/c45b53cd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/c45b53cd

Branch: refs/heads/0.16-dev
Commit: c45b53cdbf11bc72f0124c05c4f461d1185d3c70
Parents: 83dd1e5
Author: MrRaindrop <te...@gmail.com>
Authored: Fri Jul 28 15:22:24 2017 +0800
Committer: MrRaindrop <te...@gmail.com>
Committed: Fri Jul 28 15:22:24 2017 +0800

----------------------------------------------------------------------
 build/build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/c45b53cd/build/build.js
----------------------------------------------------------------------
diff --git a/build/build.js b/build/build.js
index ff2ef08..d3b0559 100644
--- a/build/build.js
+++ b/build/build.js
@@ -26,7 +26,6 @@ const rollup = require('rollup')
 const watch = require('rollup-watch')
 const webpack = require('webpack')
 const scan = require('weex-vue-bundle-util')
-const webExamplesWebpackConfig = require('./webpack.examples.web.config')
 const exec = require('child_process').execSync
 
 const getConfig = require('./config')
@@ -120,6 +119,7 @@ function absolutePath (p) {
 }
 
 function buildForWebExamples (config, minifyConfig) {
+  const webExamplesWebpackConfig = require('./webpack.examples.web.config')
   config.entry = minifyConfig.entry = absolutePath('../entry.js')
   config.dest = absolutePath('../dist/render.vue.js')
   delete config.banner