Skip to content
This repository was archived by the owner on Jan 4, 2019. It is now read-only.

Commit f21125e

Browse files
committed
Don't recalculate assetpath for handled elements
1 parent 7a0a062 commit f21125e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var URL_ATTR = ['href', 'src', 'action', 'style'];
99

1010
module.exports = {
1111
EOL: require('os').EOL,
12-
ELEMENTS: 'polymer-element',
12+
ELEMENTS: 'polymer-element:not([assetpath])',
1313
ABS_URL: /(^data:)|(^http[s]?:)|(^\/)/,
1414
IMPORTS: 'link[rel="import"][href]',
1515
URL: /url\([^)]*\)/g,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vulcanize",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Process Web Components into one output file",
55
"main": "lib/vulcan.js",
66
"bin": {

0 commit comments

Comments
 (0)