@11ty/eleventy-plugin-webc 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@11ty/eleventy-plugin-webc",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "WebC support for Eleventy adds for Single File Web Components",
|
|
5
5
|
"main": "eleventyWebcPlugin.js",
|
|
6
6
|
"scripts": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@11ty/webc": "^0.9.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"ava": "^5.
|
|
50
|
+
"ava": "^5.2.0",
|
|
51
51
|
"node-retrieve-globals": "^2.0.4"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -133,7 +133,7 @@ module.exports = function(eleventyConfig, options = {}) {
|
|
|
133
133
|
|
|
134
134
|
if(buckets.css) {
|
|
135
135
|
for(let bucket in buckets.css) {
|
|
136
|
-
this.config.javascriptFunctions.css(
|
|
136
|
+
this.config.javascriptFunctions.css(buckets.css[bucket], bucket, data.page.url);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
@@ -142,7 +142,7 @@ module.exports = function(eleventyConfig, options = {}) {
|
|
|
142
142
|
|
|
143
143
|
if(buckets.js) {
|
|
144
144
|
for(let bucket in buckets.js) {
|
|
145
|
-
this.config.javascriptFunctions.js(
|
|
145
|
+
this.config.javascriptFunctions.js(buckets.js[bucket], bucket, data.page.url);
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|