You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I try using this instead the previous phosphor-react but found an issue It's failing to compile with my project, and had to revert.
seems similar to this issue on vue: phosphor-icons/vue#23
My project is using
react 18
rollup v3
The error
ERROR in ./node_modules/@phosphor-icons/react/dist/lib/IconBase.es.js 25:16
Module parse failed: Unexpected token (25:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| ref: i,
| xmlns: "http://www.w3.org/2000/svg",
> width: t ?? o,
| height: t ?? o,
| fill: s ?? w,
@ ./node_modules/@phosphor-icons/react/dist/icons/XSquare.es.js 3:0-38 35:52-53
@ ./node_modules/@phosphor-icons/react/dist/index.es.js
@ ./stories/timeStone/icons/icons.stories.jsx
@ ./stories sync ^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|ts|tsx))$
@ ./.storybook/generated-stories-entry.js
The text was updated successfully, but these errors were encountered:
Have pushed up a new build. @phosphor-icons/react@2.0.5 is now built for ES2017 target and doesn't have any nullish-coalescing operators. LMK if that works for you!
Hello,
I try using this instead the previous
phosphor-react
but found an issue It's failing to compile with my project, and had to revert.seems similar to this issue on vue: phosphor-icons/vue#23
My project is using
react 18
rollup v3
The error
The text was updated successfully, but these errors were encountered: