Skip to content

Commit

Permalink
fix: remove export map (#4)
Browse files Browse the repository at this point in the history
* fix: remove export map

The existing export map doesn't actually do anything, it just transparently (although explicitly) forwards to the existing paths. Since webpack can't handle this `.`-less export map, we might as well remove it

* docs: changeset
  • Loading branch information
bennypowers authored Jun 6, 2024
1 parent ed4047e commit cb795a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-steaks-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@patternfly/icons": patch
---

Removed the export map. This should improve compatibility with Webpack.
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
"scripts": {
"build": "ts-node --esm ./scripts/build.ts"
},
"exports": {
"./patternfly/*": "./patternfly/*",
"./fab/*": "./fab/*",
"./far/*": "./far/*",
"./fas/*": "./fas/*"
},
"files": [
"./**/*.js",
"./**/*.svg",
Expand Down

0 comments on commit cb795a4

Please sign in to comment.