Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Add ability for lang="postcss" on style tags #149

Merged
merged 1 commit into from
Nov 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/style/index.js
Original file line number Diff line number Diff line change
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