Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 3e71032

Browse files
committed
Fix css loader
1 parent a6379d5 commit 3e71032

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/css.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export const cssLoader = async ({ specifier, data }: LoadInput, aleph: Aleph): P
103103
const ret = await postcss.process(sourceCode, { from: specifier }).async()
104104
css = ret.css
105105
} catch (err) {
106+
css = sourceCode
106107
log.warn('postcss:', err.message || err)
107108
}
108109
} else {

0 commit comments

Comments
 (0)