Skip to content

Commit

Permalink
添加默认打包资源
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Jun 4, 2014
1 parent 95b391e commit f049730
Show file tree
Hide file tree
Showing 22 changed files with 13,648 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/.idea
/gmu_webapp2.0.0.zip
/node_modules
/dist
/doc
/test/report/report.html
/test/report/report.xml
Expand Down
8 changes: 6 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ module.exports = function(grunt) {
src: [
'widget/**/*.js',

// 所有的插件都默认不打包,要加的话在下面配。
'!widget/**/$*.js'
// 过滤掉一些可能冲突的插件
'!widget/gotop/$iscroll.js',
'!widget/refresh/$*.js',
'widget/refresh/$iOS5.js',
'!widget/slider/$dynamic.js',
'!widget/slider/$multiview.js'
],

dest: 'dist/gmu.js'
Expand Down
Loading

0 comments on commit f049730

Please sign in to comment.