-
Notifications
You must be signed in to change notification settings - Fork 11
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
"Unsafe dynamic component" build errors when Embroider is enabled #131
Comments
Oh, I think I know what's going on. It's basically a bug in Embroider, that has been fixed already (embroider-build/embroider#1383), but it's not released yet in a stable version. There are "unstable" releases (see https://www.npmjs.com/package/@embroider/core?activeTab=versions) you could use. That's what the addon is also doing to get its Embroider tests to pass, see here. Or you would need to wait for the stable release, which I know folks are actively working on, but it could take a couple more days... |
Thanks, @simonihmig, that's super useful feedback. For reference, why don't you need to use the |
The new version of this addon uses the new tl;dr in strict mode you never need The PR I linked above is fixing the bug that |
Excellent, thanks @simonihmig. Great to have clarified the relationship between "strict mode" and |
Hi, when updating to the latest release (beta-2) I'm seeing the following error when building an Embroider-enabled application:
Would it be helpful if I provided a reproduction?
From this, it sounds like
ensure-safe-component
helper from the@embroider/util
needs to be included wherever you've used the(component)
helper to allow for static analysis.The text was updated successfully, but these errors were encountered: