workflow(sfc-playground): warn on <style module> usage
This commit is contained in:
parent
c771b1dc80
commit
b6298dbd01
@ -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 = [`<style module> is not supported in the playground.`]
|
||||
return
|
||||
}
|
||||
|
||||
const styleResult = await compileStyleAsync({
|
||||
|
Loading…
Reference in New Issue
Block a user