Skip to content

Commit

Permalink
feat: add lang="postcss" on style tags (vuejs#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Berry authored and znck committed Nov 14, 2017
1 parent 73bb8a0 commit 5ccea8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/style/index.js
Expand Up @@ -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)
Expand Down

0 comments on commit 5ccea8d

Please sign in to comment.