-
Notifications
You must be signed in to change notification settings - Fork 156
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
New web-components version (v2.1.0) doesn't load #11274
Comments
Reviewing changes in the
|
It works if I change from: "./es/components/*": {
"node": "./lib/components/*",
"default": "./es/components/*"
}, To: "./es/components/*": {
"default": "./es/components/*"
}, |
@kennylam @ariellalgilmore @annawen1 this may have happened after we merged in.
@kennylam Not sure if we need this anymore now that everything is merged in? |
kodiakhq bot
pushed a commit
that referenced
this issue
Jan 2, 2024
### Related Ticket(s) Closes #11274 ### Description Remove the `node` exports field that was pointing to the `lib` folder containing only the source map files. ### Changelog **Removed** - `node` exports field <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
kennylam
pushed a commit
to kennylam/carbon-for-ibm-dotcom
that referenced
this issue
Mar 12, 2024
) Closes carbon-design-system#11274 Remove the `node` exports field that was pointing to the `lib` folder containing only the source map files. **Removed** - `node` exports field <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
kennylam
pushed a commit
to kennylam/carbon-for-ibm-dotcom
that referenced
this issue
Jun 11, 2024
) ### Related Ticket(s) Closes carbon-design-system#11274 ### Description Remove the `node` exports field that was pointing to the `lib` folder containing only the source map files. ### Changelog **Removed** - `node` exports field <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When update from v2.0.1 to v2.1.0, importing components gives an error:
✅ Application with
@carbon/[email protected]
:https://stackblitz.com/edit/github-gkn31f-tzrvfj?file=package.json
❌ Application with
@carbon/[email protected]
:https://stackblitz.com/edit/github-gkn31f-gn6xrr?file=package.json
Component(s) impacted
All.
Browser
Chrome, Safari, Firefox, Microsoft Edge
Severity
Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.
Application/website
IBM Quantum
Package
@carbon/web-components
Code of Conduct
The text was updated successfully, but these errors were encountered: