grunt-vulcanize
Advanced tools
Comparing version 0.4.2 to 0.5.0
@@ -36,3 +36,3 @@ /* | ||
options: { | ||
create: ['tmp/default', 'tmp/csp', 'tmp/inline', 'tmp/excludes', 'tmp/strip', 'tmp/multiple', 'tmp/abspath'] | ||
create: ['tmp/default', 'tmp/csp', 'tmp/inline', 'tmp/excludes', 'tmp/strip', 'tmp/multiple', 'tmp/abspath', 'tmp/no-strip-excludes'] | ||
} | ||
@@ -98,2 +98,13 @@ } | ||
} | ||
}, | ||
'no-strip-excludes': { | ||
options: { | ||
'strip-excludes': false, | ||
excludes: { | ||
imports: ['polymer.html'] | ||
} | ||
}, | ||
files: { | ||
'tmp/no-strip-excludes/vulcanized.html': ['test/fixtures/index.html'] | ||
} | ||
} | ||
@@ -100,0 +111,0 @@ }, |
{ | ||
"name": "grunt-vulcanize", | ||
"version": "0.4.2", | ||
"version": "0.5.0", | ||
"description": "Grunt plugin for Polymer's Vulcanize", | ||
@@ -10,3 +10,3 @@ "main": "Gruntfile.js", | ||
"dependencies": { | ||
"vulcanize": "^0.5.0" | ||
"vulcanize": "^0.6.0" | ||
}, | ||
@@ -13,0 +13,0 @@ "devDependencies": { |
@@ -88,2 +88,9 @@ # grunt-vulcanize | ||
#### options['strip-excludes'] | ||
Type: `Boolean` | ||
Default value: `true` | ||
By default, HTML Imports excluded from inlining are removed. | ||
Set this flag to keep the excluded imports in the output file. | ||
### Usage Examples | ||
@@ -90,0 +97,0 @@ |
@@ -26,2 +26,3 @@ /* | ||
strip: false, | ||
'strip-excludes': true, | ||
excludes: { | ||
@@ -28,0 +29,0 @@ imports: [], |
@@ -100,3 +100,13 @@ 'use strict'; | ||
test.done(); | ||
}, | ||
'no-strip-excludes': function(test) { | ||
test.expect(1); | ||
var actual = grunt.file.read('tmp/no-strip-excludes/vulcanized.html'); | ||
var expected = grunt.file.read('test/expected/no-strip-excludes/vulcanized.html'); | ||
test.equal(actual, expected); | ||
test.done(); | ||
} | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1101377
47
1107
145
+ Addedparse5@1.1.6(transitive)
+ Addedvulcanize@0.6.2(transitive)
+ Addedwhacko@0.17.1(transitive)
- Removedparse5@1.5.1(transitive)
- Removedvulcanize@0.5.0(transitive)
- Removedwhacko@0.17.4(transitive)
Updatedvulcanize@^0.6.0