Skip to content

Commit

Permalink
fix(package.json): remove node exports field (carbon-design-system#11283
Browse files Browse the repository at this point in the history
)

### 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) -->
  • Loading branch information
annawen1 authored Jan 2, 2024
1 parent 1ad170d commit 6432b9e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/carbon-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@
"module": "es/index.js",
"exports": {
"./es/components-react/*": {
"node": "./lib/components-react-node/*",
"default": "./es/components-react/*"
},
"./es/components/*": {
"node": "./lib/components/*",
"default": "./es/components/*"
},
"./es/globals/": {
"node": "./lib/globals/",
"default": "./es/globals/"
},
"./es": "./es/index.js",
Expand Down

0 comments on commit 6432b9e

Please sign in to comment.