grunt-neuter
Advanced tools
Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "grunt-neuter", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "Builds source files in the order you require.", | ||
@@ -5,0 +5,0 @@ "main": "Gruntfile.js", |
@@ -46,4 +46,10 @@ /* | ||
var src = grunt.file.read(filepath); | ||
// an object that will be used as rendering | ||
// context for the template. | ||
var templateData = { | ||
data: { | ||
// requires are stripped from the file | ||
// since 'require' doesn't have consistent | ||
// meaning in browsers. | ||
text: src.replace(requireMatcher, '') | ||
@@ -81,4 +87,4 @@ } | ||
var outStr = grunt.file.expand({nonull: true}, this.file.srcRaw).map(finder, this); | ||
grunt.file.write(this.file.dest, outStr); | ||
grunt.file.write(this.file.dest, outStr.join('')); | ||
}); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13575
226