Skip to content
Browse files

Make build more like master

  • Loading branch information...
1 parent 4e0429f commit d53c0d4724af8b0d6bca99c141f1dd55802f2c17 @gabrielschulhof gabrielschulhof committed
Showing with 2 additions and 4 deletions.
  1. +2 −4 Gruntfile.js
View
6 Gruntfile.js
@@ -53,8 +53,6 @@ module.exports = function( grunt ) {
files: {
src: [
"js/**/*.js",
- "!js/text.js",
- "!js/json.js",
"!js/jquery.hashchange.js",
"!js/jquery.js",
"!js/jquery.ui.widget.js"
@@ -90,7 +88,7 @@ module.exports = function( grunt ) {
//together.
skipModuleInsertion: true,
- inlineText: true,
+ mainConfigFile: "js/requirejs.config.js",
include: ( grunt.option( "modules" ) || name ).split( "," ),
@@ -115,7 +113,7 @@ module.exports = function( grunt ) {
},
onBuildWrite: function (moduleName, path, contents) {
- return contents.replace(/__version__/g, grunt.config.process( "\"<%= pkg.version %>\"" ) );
+ return contents.replace(/__version__/g, grunt.config.process( "\"<%= version %>\"" ) );
}
}
}

0 comments on commit d53c0d4

Please sign in to comment.
Something went wrong with that request. Please try again.