grunt-vulcanize
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -35,3 +35,3 @@ /* | ||
options: { | ||
create: ['tmp/default', 'tmp/csp', 'tmp/inline', 'tmp/excludes'] | ||
create: ['tmp/default', 'tmp/csp', 'tmp/inline', 'tmp/excludes', 'tmp/strip'] | ||
} | ||
@@ -75,2 +75,10 @@ } | ||
} | ||
}, | ||
strip: { | ||
options: { | ||
strip: true | ||
}, | ||
files: { | ||
'tmp/strip/vulcanized.html': ['test/fixtures/index.html'] | ||
} | ||
} | ||
@@ -77,0 +85,0 @@ }, |
{ | ||
"name": "grunt-vulcanize", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Grunt plugin for Polymer's Vulcanize", | ||
@@ -10,3 +10,3 @@ "main": "Gruntfile.js", | ||
"dependencies": { | ||
"vulcanize": "~0.1.7" | ||
"vulcanize": "~0.1.9" | ||
}, | ||
@@ -13,0 +13,0 @@ "devDependencies": { |
@@ -52,3 +52,9 @@ # grunt-vulcanize | ||
#### options.excludues.imports | ||
#### options.strip | ||
Type: `Boolean` | ||
Default value: `false` | ||
Strip comments and empty text nodes from output. | ||
#### options.excludes.imports | ||
Type: `Array[String]` | ||
@@ -90,3 +96,3 @@ Default value: `[]` | ||
excludes: { | ||
inports: [ | ||
imports: [ | ||
"polymer.html" | ||
@@ -93,0 +99,0 @@ ] |
@@ -22,2 +22,3 @@ /* | ||
inline: false, | ||
strip: false, | ||
excludes: { | ||
@@ -24,0 +25,0 @@ imports: [] |
@@ -68,3 +68,12 @@ 'use strict'; | ||
test.done(); | ||
}, | ||
strip: function(test) { | ||
test.expect(1); | ||
var actual = grunt.file.read('tmp/strip/vulcanized.html'); | ||
var expected = grunt.file.read('test/expected/strip/vulcanized.html'); | ||
test.equal(actual, expected); | ||
test.done(); | ||
} | ||
}; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1117058
41
1155
112
0
Updatedvulcanize@~0.1.9