Skip to content

Commit 97ae724

Browse files
committed
feat: Add name to importCSSPreprocess function
This commit adds a name property to the importCSSPreprocess function. The name is set to "import-css-scoped". This change helps in identifying the function when it is used in the code.
1 parent 77a53aa commit 97ae724

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function matchAllImports(str: string) {
9494
*/
9595
export function importCSSPreprocess(): PreprocessorGroup {
9696
return {
97+
name: "import-css-scoped",
9798
style: async function ({ content, filename }) {
9899
const imports = matchAllImports(content);
99100
if (imports.length > 0) {

0 commit comments

Comments
 (0)