Skip to content

Add workaround for creating sw.js file for embroider project#123

Open
colenso wants to merge 3 commits into
BBVAEngineering:masterfrom
x-b-e:try_embroider_workaround
Open

Add workaround for creating sw.js file for embroider project#123
colenso wants to merge 3 commits into
BBVAEngineering:masterfrom
x-b-e:try_embroider_workaround

Conversation

@colenso

@colenso colenso commented Mar 17, 2022

Copy link
Copy Markdown

I've taken the inspiration from prember which mentioned that embroider based projects don't support postprocessTree hook of type 'all' and hence we need a way to manually call the function that generates the file.
This fixes #122

@colenso

colenso commented Apr 4, 2022

Copy link
Copy Markdown
Author

@adrigzr Would appreciate some 👀 here as well. Thanks!

@xomaczar

Copy link
Copy Markdown

@adrigzr I am having the same issue running this addon with embroider - @colenso PR seems to resolve it.
Also, it seems this fix is backward compatible with pre-embroider build pipeline, can this be merged in?

@xomaczar

xomaczar commented Jul 3, 2022

Copy link
Copy Markdown

@adrigzr have you had a chance to look at @colenso PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sw.js file isn't created

2 participants