Skip to content

Commit 816291e

Browse files
brandonocaseygkatsev
authored andcommitted
chore(deps): add the bundle-collapser browserify plugin
This plugin makes browserify output numbers instead of the bundle paths to save some bytes in the output.
1 parent 4063f96 commit 816291e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/grunt.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = function(grunt) {
2121
standalone: 'videojs'
2222
},
2323
plugin: [
24+
['bundle-collapser/plugin'],
2425
['browserify-derequire']
2526
]
2627
};
@@ -348,7 +349,7 @@ module.exports = function(grunt) {
348349
transform: ['babelify']
349350
},
350351
plugin: [
351-
['proxyquireify/plugin']
352+
['proxyquireify/plugin', 'bundle-collapser/plugin']
352353
],
353354
banner: false,
354355
watch: true,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"browserify-derequire": "^0.9.4",
5555
"browserify-istanbul": "^0.2.1",
5656
"browserify-versionify": "^1.0.4",
57+
"bundle-collapser": "^1.2.1",
5758
"chg": "^0.3.2",
5859
"es5-shim": "^4.1.3",
5960
"es6-shim": "^0.35.1",

0 commit comments

Comments
 (0)