Skip to content

Commit 5ccea8d

Browse files
Jeff Berryznck
Jeff Berry
authored andcommitted
feat: add lang="postcss" on style tags (vuejs#149)
1 parent 73bb8a0 commit 5ccea8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/style/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const compilers = {
1515
export async function compile (style, options) {
1616
let output
1717

18-
if (style.lang === 'css') {
18+
if (style.lang === 'css' || style.lang === 'postcss') {
1919
output = await compileCSS(style, options)
2020
} else {
2121
output = await compileCSS(await compilers[style.lang].call(null, style, options), options)

0 commit comments

Comments
 (0)