We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下面这样写实际上是生成到了 js/ui/js/ui 目录下了 ··· gulp.src("./**/js/ui/_*.js") .pipe(transport()) .pipe(uglify()) .pipe(gulp.dest("./js/_ui")); ···
The text was updated successfully, but these errors were encountered:
暂时修改了一行 var newId = parseId(options.relative?options.relative+file.relative:file.relative) 调用的时候用.pipe(transport({relative:'js/ui/'}))
不知道有没有不修改源码的实现方法
Sorry, something went wrong.
@momofiona 你要修改base路径
gulp.src("./**/js/ui*.js",{base:"./**/js"})
No branches or pull requests
下面这样写实际上是生成到了 js/ui/js/ui 目录下了
···
gulp.src("./**/js/ui/_*.js")
.pipe(transport())
.pipe(uglify())
.pipe(gulp.dest("./js/_ui"));
···
The text was updated successfully, but these errors were encountered: