1
0
Kaynağa Gözat

grunt: replace <json:> directive with readJSON()

Manfred Kroehnert 11 yıl önce
ebeveyn
işleme
81d4d8fa0d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Gruntfile.js

+ 1 - 1
Gruntfile.js

@@ -9,7 +9,7 @@ module.exports = function(grunt) {
   grunt.registerTask('default', 'peg amberc:all');
 
   grunt.initConfig({
-    pkg: '<json:package.json>',
+    pkg: grunt.file.readJSON('package.json'),
 
     meta: {
       banner: '/*!\n <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> \n License: <%= pkg.license.type %> \n*/\n'