diff --git a/packages/sfc-playground/src/sfcCompiler.ts b/packages/sfc-playground/src/sfcCompiler.ts index e0ab8d2f9..79a088c09 100644 --- a/packages/sfc-playground/src/sfcCompiler.ts +++ b/packages/sfc-playground/src/sfcCompiler.ts @@ -115,8 +115,8 @@ export async function compileFile({ filename, code, compiled }: File) { let css = '' for (const style of descriptor.styles) { if (style.module) { - // TODO error - continue + store.errors = [`