Skip to content

Commit 34cd869

Browse files
committed
docs: fix error message
1 parent 04d4244 commit 34cd869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const markup: MarkupPreprocessor = async ({ content, filename }) => {
4545
ast = parse(content, { filename });
4646
} catch (err) {
4747
throw new Error(
48-
`${err}\n\nThe svelte component failed to be parsed. Make sure cssModules is running after all other preprocessors by wrapping them with "cssModulesPreprocess().after()"`
48+
`${err}\n\nThe svelte component failed to be parsed. Make sure cssModules is running after all other preprocessors by wrapping them with "linearPreprocess()" from svelte-preprocess-cssmodules`
4949
);
5050
}
5151

0 commit comments

Comments
 (0)