Skip to content

Commit

Permalink
Merge pull request #674 from embroider-build/css-preprocessor-compat
Browse files Browse the repository at this point in the history
adjust paths seen by css preprocessors
  • Loading branch information
rwjblue authored Mar 4, 2021
2 parents 221831a + fd73fab commit c65cda3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/compat/src/v1-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@ export default class V1App {
minifyCSS: this.app.options.minifyCSS.options,
};

let styles = this.preprocessors.preprocessCss(this.combinedStyles(addonTrees), '.', '/assets', options);
let nestedInput = new Funnel(this.combinedStyles(addonTrees), { destDir: 'app/styles' });
let styles = this.preprocessors.preprocessCss(nestedInput, 'app/styles', '/assets', options);

return new AddToTree(styles, outputPath => {
let addonMeta: AddonMeta = {
Expand Down

0 comments on commit c65cda3

Please sign in to comment.