@@ -38,7 +38,7 @@ module.exports = function (grunt) {
38
38
src : 'node_modules/xmlserializer/lib/serializer.js' ,
39
39
dest : 'build/dependencies/xmlserializer.js' ,
40
40
options : {
41
- bundleOptions : {
41
+ browserifyOptions : {
42
42
standalone : 'xmlserializer'
43
43
}
44
44
}
@@ -47,7 +47,7 @@ module.exports = function (grunt) {
47
47
src : 'node_modules/sane-domparser-error/index.js' ,
48
48
dest : 'build/dependencies/sane-domparser-error.js' ,
49
49
options : {
50
- bundleOptions : {
50
+ browserifyOptions : {
51
51
standalone : 'sanedomparsererror'
52
52
}
53
53
}
@@ -56,7 +56,7 @@ module.exports = function (grunt) {
56
56
src : 'node_modules/url/url.js' ,
57
57
dest : 'build/dependencies/url.js' ,
58
58
options : {
59
- bundleOptions : {
59
+ browserifyOptions : {
60
60
standalone : 'url'
61
61
}
62
62
}
@@ -65,7 +65,7 @@ module.exports = function (grunt) {
65
65
src : 'node_modules/css-mediaquery/index.js' ,
66
66
dest : 'build/dependencies/cssmediaquery.js' ,
67
67
options : {
68
- bundleOptions : {
68
+ browserifyOptions : {
69
69
standalone : 'cssMediaQuery'
70
70
}
71
71
}
@@ -74,7 +74,7 @@ module.exports = function (grunt) {
74
74
src : 'node_modules/inlineresources/src/inline.js' ,
75
75
dest : 'build/dependencies/inlineresources.js' ,
76
76
options : {
77
- bundleOptions : {
77
+ browserifyOptions : {
78
78
'standalone' : 'inlineresources'
79
79
}
80
80
}
@@ -83,11 +83,9 @@ module.exports = function (grunt) {
83
83
src : 'dist/rasterizeHTML.js' ,
84
84
dest : 'build/rasterizeHTML.allinone.js' ,
85
85
options : {
86
- bundleOptions : {
86
+ browserifyOptions : {
87
87
standalone : 'rasterizeHTML'
88
- } ,
89
- // Don't use the dependency browserify is providing. Use the one we fixed in package.json
90
- alias : [ 'node_modules/url/url.js:url' ]
88
+ }
91
89
}
92
90
}
93
91
} ,
0 commit comments