File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ module.exports = function(grunt) {
7
7
dest : 'dist/leaflet-routing-machine.js' ,
8
8
options : {
9
9
browserifyOptions : {
10
- transform : 'browserify-shim' ,
10
+ transform : [ 'browserify-shim' ] ,
11
+ plugin : [ 'browserify-derequire' ] ,
11
12
standalone : 'L.Routing'
12
13
} ,
13
14
banner : '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
Original file line number Diff line number Diff line change 35
35
"main" : " ./dist/leaflet-routing-machine.js" ,
36
36
"devDependencies" : {
37
37
"browserify" : " ^13.1.0" ,
38
+ "browserify-derequire" : " ^0.9.4" ,
38
39
"browserify-shim" : " ^3.7.0" ,
40
+ "corslite" : " 0.0.7" ,
41
+ "derequire" : " ^2.0.3" ,
39
42
"grunt" : " ^1.0.1" ,
40
43
"grunt-browserify" : " ^5.0.0" ,
41
44
"grunt-contrib-copy" : " ^1.0.0" ,
42
45
"grunt-contrib-uglify" : " ^2.0.0" ,
43
46
"grunt-gh-pages" : " ^2.0.0" ,
44
- "grunt-semantic-release" : " ^0.2.1"
45
- },
46
- "dependencies" : {
47
- "corslite" : " 0.0.7" ,
47
+ "grunt-semantic-release" : " ^0.2.1" ,
48
48
"polyline" : " 0.2.0"
49
- }
49
+ },
50
+ "dependencies" : {}
50
51
}
You can’t perform that action at this time.
0 commit comments