Comparing version 1.2.0 to 1.3.0
@@ -19,2 +19,3 @@ /** | ||
var conf = require('./conf.json'); | ||
var rename = require("gulp-rename"); | ||
@@ -66,3 +67,5 @@ var viewPath = 'views/'; | ||
.pipe(uglify()) | ||
.pipe(rev()) | ||
.pipe(rename(function(path) { | ||
path.basename += '.min.'; | ||
})) | ||
.pipe(gulp.dest(distPath)) | ||
@@ -78,3 +81,5 @@ //.pipe(rev.manifest()) | ||
.pipe(uglify()) | ||
.pipe(rev()) | ||
.pipe(rename(function(path) { | ||
path.basename += '.min.'; | ||
})) | ||
.pipe(gulp.dest(distPath)) | ||
@@ -81,0 +86,0 @@ //.pipe(rev.manifest()) |
{ | ||
"name": "testin-ab", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "", | ||
"main": "dist/vsdk.js", | ||
"main": "dist/vsdk.min.js", | ||
"scripts": { | ||
@@ -11,2 +11,2 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"license": "ISC" | ||
} | ||
} |
@@ -23,2 +23,3 @@ { | ||
"gulp-htmlmin": "2.0.0", | ||
"gulp-rename": "1.2.2", | ||
"gulp-rev": "7.1.2", | ||
@@ -25,0 +26,0 @@ "gulp-rev-collector": "1.0.5", |
@@ -15,3 +15,6 @@ /** | ||
var methods = {}; | ||
var $ = window.jQuery; | ||
jQuery.noConflict(); | ||
//是否开启可视化编辑,集成sdk的页面被前端网页通过iframe加载时, | ||
@@ -18,0 +21,0 @@ //会设置此参数 |
928356
3944