fontaine 0.1.0 → 0.1.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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -108,7 +108,7 @@ const FontaineTransform = unplugin.createUnplugin(
|
|
|
108
108
|
enforce: "pre",
|
|
109
109
|
transformInclude(id) {
|
|
110
110
|
const { pathname } = ufo.parseURL(id);
|
|
111
|
-
return pathname.endsWith(".css");
|
|
111
|
+
return pathname.endsWith(".css") || id.endsWith(".css");
|
|
112
112
|
},
|
|
113
113
|
async transform(code, id) {
|
|
114
114
|
const s = new MagicString__default(code);
|
package/dist/index.mjs
CHANGED
|
@@ -100,7 +100,7 @@ const FontaineTransform = createUnplugin(
|
|
|
100
100
|
enforce: "pre",
|
|
101
101
|
transformInclude(id) {
|
|
102
102
|
const { pathname } = parseURL(id);
|
|
103
|
-
return pathname.endsWith(".css");
|
|
103
|
+
return pathname.endsWith(".css") || id.endsWith(".css");
|
|
104
104
|
},
|
|
105
105
|
async transform(code, id) {
|
|
106
106
|
const s = new MagicString(code);
|