-
Notifications
You must be signed in to change notification settings - Fork 83
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
Unused code is bundled when using Angular #686
Labels
Comments
We have the same issue. Is there an update? |
How's this coming along? |
I think this may be related, but Angular also throws this warning on build:
This is current as of version |
This issue is fixed in versions >= 4.9.2. Closing this issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I wanted to do
I want to include @optimizely/optimizely-sdk to an existing Angular 12.1.1 project.
What I expected to happen
ng serve
ng build
What actually happened
In all three scenarios the following error appears:
Steps to reproduce
Link to repository that can reproduce the issue: https://github.com/ErikNijland/optimizely-angular-cli-bug
npm ci
ng build
orng serve
@optimizely/optimizely-sdk
version: 4.6.0Browser and version: Chrome 91
node
version: v14.17.1npm
version: 7.19.1The text was updated successfully, but these errors were encountered: