Skip to content

Commit

Permalink
chore(deps): add the bundle-collapser browserify plugin
Browse files Browse the repository at this point in the history
This plugin makes browserify output numbers instead of the bundle paths to save some bytes in the output.
  • Loading branch information
brandonocasey authored and gkatsev committed Sep 29, 2016
1 parent 4063f96 commit 816291e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/grunt.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module.exports = function(grunt) {
standalone: 'videojs'
},
plugin: [
['bundle-collapser/plugin'],
['browserify-derequire']
]
};
Expand Down Expand Up @@ -348,7 +349,7 @@ module.exports = function(grunt) {
transform: ['babelify']
},
plugin: [
['proxyquireify/plugin']
['proxyquireify/plugin', 'bundle-collapser/plugin']
],
banner: false,
watch: true,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"browserify-derequire": "^0.9.4",
"browserify-istanbul": "^0.2.1",
"browserify-versionify": "^1.0.4",
"bundle-collapser": "^1.2.1",
"chg": "^0.3.2",
"es5-shim": "^4.1.3",
"es6-shim": "^0.35.1",
Expand Down

0 comments on commit 816291e

Please sign in to comment.