workflow(sfc-playground): warn on <style module> usage

This commit is contained in:
Evan You 2021-03-30 12:39:08 -04:00
parent c771b1dc80
commit b6298dbd01

View File

@ -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({