From 0e50c2b58d06a6d0b41f5626113a047176486c36 Mon Sep 17 00:00:00 2001 From: minwe Date: Mon, 1 Jun 2015 11:24:14 +0800 Subject: [PATCH] update building config --- .gitignore | 2 ++ gulpfile.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 06a4cbc..e099b80 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,6 @@ node_modules # dist +dist/docs + lib diff --git a/gulpfile.js b/gulpfile.js index 9cc4cea..f32c02b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -143,8 +143,8 @@ gulp.task('docs:copy:html', function() { file = $1.replace(extname, '.') + $2 + extname; } - return isProduction ? '/react/' + file : file; - // return 'http://a.static.amazeui.org/assets/react/' + file; + // return isProduction ? '/react/' + file : file; + return isProduction ? 'http://a.static.amazeui.org/assets/react/' + file : file; })) .pipe($.replace(/__UICDN__/g, function(match, $1) { return isProduction ? 'http://cdn.amazeui.org/amazeui/2.4.0/' : '';