Skip to content

Commit

Permalink
LOLCODE workaround (not a final solution, just testing CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Aug 24, 2021
1 parent 0ecff24 commit e01cc59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/compat/src/v1-addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,12 @@ export default class V1Addon {
private buildAddonStyles(built: IntermediateBuild) {
let addonStylesTree = this.addonStylesTree();
if (addonStylesTree) {
let destDir = (addonStylesTree as any).destDir;

if (typeof destDir === 'string' && destDir.endsWith('__COMPILED_STYLES__')) {
// TODO: remove the LOLWAT code
(addonStylesTree as any).destDir = '/';
}
let discoveredFiles: string[] = [];
let tree = new ObserveTree(addonStylesTree, outputPath => {
discoveredFiles = walkSync(outputPath, { globs: ['**/*.css'], directories: false });
Expand Down

0 comments on commit e01cc59

Please sign in to comment.