Skip to content

Commit

Permalink
chore(build): add additional metadata for mapping to improve map paths (
Browse files Browse the repository at this point in the history
  • Loading branch information
castastrophe authored Jul 25, 2024
1 parent 7fea737 commit 7f0de63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tasks/component-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7f0de63

Please sign in to comment.