File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ module.exports = function (grunt) {
21
21
return writeln ;
22
22
}
23
23
24
+ // load core tasks
25
+ grunt . file . setBase ( grunt . config . data . base ) ;
24
26
grunt . loadNpmTasks ( 'grunt-contrib-uglify' ) ;
25
27
grunt . loadNpmTasks ( 'grunt-contrib-less' ) ;
26
28
grunt . loadNpmTasks ( 'grunt-contrib-cssmin' ) ;
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ Main.prototype.main = function( opt ){
88
88
// minification options
89
89
var options = {
90
90
//pkg: '<json:package.json>',
91
+ base : process . cwd ( ) ,
91
92
gruntfile : path . normalize ( __dirname + '/../gruntfile.js' ) ,
92
93
js : {
93
94
min : {
@@ -148,6 +149,7 @@ Main.prototype.main = function( opt ){
148
149
//
149
150
options . requirejs . compile . options = rjs_options ;
150
151
}
152
+
151
153
// initialize grunt configuration
152
154
grunt . initConfig ( options ) ;
153
155
You can’t perform that action at this time.
0 commit comments