Skip to content

Commit b148b9b

Browse files
committed
fix(tools): css-imports specifiers
1 parent 921e5d5 commit b148b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/pfe-tools/typescript/transformers/css-imports.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function cacheCssImportSpecsAbsolute(sourceFile) {
137137

138138
function getStylesheetContent(specifier, fileName, minify) {
139139
let content; let pathname;
140-
if (specifier.startsWith('./')) {
140+
if (specifier.startsWith('.')) {
141141
const dir = pathToFileURL(fileName);
142142
const url = new URL(specifier, dir);
143143
({ pathname } = url);

0 commit comments

Comments
 (0)