Permalink
Browse files

feat: add lang="postcss" on style tags (vuejs#149)

  • Loading branch information...
jeffberry authored and znck committed Nov 14, 2017
1 parent 73bb8a0 commit 5ccea8d28652073e21b5872fa15b79e9f1900cf5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/style/index.js
@@ -15,7 +15,7 @@ const compilers = {
export async function compile (style, options) {
let output

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

0 comments on commit 5ccea8d

Please sign in to comment.