diff --git a/MelteCompiler.js b/MelteCompiler.js index 3279622..4fc88c7 100644 --- a/MelteCompiler.js +++ b/MelteCompiler.js @@ -360,8 +360,10 @@ SvelteCompiler = class SvelteCompiler extends CachingCompiler { }, style: async ({ content, attributes }) => { if (this.postcss && (!attributes.lang || attributes.lang === 'postcss')) { + const { css: code } = await this.postcss.process(content, { from: undefined }); + return { - code: await this.postcss.process(content, { from: undefined }) + code }; } }