Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks Angular templates #32

Open
edenworky opened this issue Jul 11, 2019 · 1 comment
Open

Breaks Angular templates #32

edenworky opened this issue Jul 11, 2019 · 1 comment

Comments

@edenworky
Copy link

I followed this guide: https://medium.com/lacolaco-blog/enjoyable-webworkers-in-angular-41cfeb0e6519

When I open my app it boots Angular and immediately fails accessing template files (Failed to load failed-foo.component.html, app.com/foo.component.html 404 (Not Found))

Commenting out the new WorkerPlugin line solves this, although of course it fails trying to access the workers. The build always passes successfully with no errors, even with --verbose; and when WorkerPlugin is configured it seems to be building a worker chunk.

Any clue what might be causing this? I don't even know what kind of informative log I can send. Very confusing.

@developit
Copy link
Collaborator

Hmm - are you using the latest version of Angular CLI? If so, it ships with this plugin included by default. Perhaps two of them is causing the issue?

If not, try updating to the latest Angular CLI. Since they shipped it by default, I can't imagine it would have this issue.

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

No branches or pull requests

2 participants