diff --git a/tasks/component-builder.js b/tasks/component-builder.js index 272ed49c01..623a3af01f 100644 --- a/tasks/component-builder.js +++ b/tasks/component-builder.js @@ -213,7 +213,11 @@ async function processCSS(content, input, output, { configPath // This is the path to the directory where the postcss.config.js lives ); - const result = await postcss(plugins).process(content, options); + const result = await postcss(plugins).process(content, { + from: input, + to: output, + ...options + }); if (result.error) return Promise.reject(result.error);