Skip to content
New issue

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

改task里的combo改为false,从html生成的js仍然是压缩的 #8

Open
c2ye opened this issue Jan 27, 2015 · 1 comment
Open

Comments

@c2ye
Copy link

c2ye commented Jan 27, 2015

改task里的combo改为false,从html生成的js仍然是压缩的,如:
gulp.task('default', function(){
return gulp.src('./test/tpl/*/.html')
.pipe(tmodjs({
base: './test/tpl',
combo: false,
output: './test/dist'
})).
pipe(gulp.dest('./dest'));
});

请教下是什么问题呢?而且发现grunt版本和gulp版本的都存在这个问题

@caoren
Copy link

caoren commented Aug 3, 2015

压缩参数应该是minify来设置的,默认是true,minify:false应该就不会压缩了,参数配置参考https://github.com/aui/tmodjs/#%E9%85%8D%E7%BD%AE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants