File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ module.exports = function(grunt) {
88
99
1010 grunt . initConfig ( {
11+ pkg : grunt . file . readJSON ( 'package.json' ) ,
1112 jshint : {
1213 all : [ 'Gruntfile.js' , 'src/**/*.js' ]
1314 } ,
@@ -17,15 +18,20 @@ module.exports = function(grunt) {
1718 browserify : {
1819 kuzzle : {
1920 src : [ 'src/kuzzle.js' ] ,
20- dest : 'browser/kuzzle.js'
21+ dest : 'browser/kuzzle.js' ,
22+ options : {
23+ browserifyOptions : {
24+ noParse : [ require . resolve ( 'node-uuid' ) ]
25+ }
26+ }
2127 }
2228 } ,
2329 uglify : {
2430 kuzzle : {
2531 options : {
2632 'sourceMap' : true ,
2733 'sourceMapName' : 'browser/kuzzle.min.map' ,
28- 'banner' : '// This is the Kuzzle SDK version 1.0 - Licenced under the Apache 2.0 Licence '
34+ 'banner' : '// <%= pkg.description %> v<%= pkg. version %> - License: <%= pkg.license %> '
2935 } ,
3036 files : {
3137 'browser/kuzzle.min.js' : [ 'browser/kuzzle.js' ]
You can’t perform that action at this time.
0 commit comments