From 43614d588af692ae525ec382f652059b8e9ef470 Mon Sep 17 00:00:00 2001 From: Jeff Berry Date: Mon, 13 Nov 2017 15:09:35 -0700 Subject: [PATCH] Add ability for lang="postcss" on style tags --- src/style/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/style/index.js b/src/style/index.js index 5c69fc9..1ff09b3 100644 --- a/src/style/index.js +++ b/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)