I am trying to build a design system package using vite, but I get the following error, is it a known issue ?
x Build failed in 1.15s
error during build:
../../node_modules/react-native-web/dist/exports/processColor/index.js (11:7): "default" is not exported by "../../node_modules/@react-native/normalize-colors/index.js", imported by "../../node_modules/react-native-web/dist/exports/processColor/index.js".
file: /Users/.../my_monorepo/node_modules/react-native-web/dist/exports/processColor/index.js:11:7
9: */
10:
11: import normalizeColor from '@react-native/normalize-colors';
^
12: var processColor = color => {
13: if (color === undefined || color === null) {
at getRollupError (file:///Users/.../my_monorepo/node_modules/rollup/dist/es/shared/parseAst.js:396:41)
...
Is there an existing issue for this?
Describe the issue
I am trying to build a design system package using vite, but I get the following error, is it a known issue ?
Here's my vite.config.ts :
And my package.json :
Expected behavior
No error :)
Steps to reproduce
Can't find what are the steps leading to that issue.
Test case
http://
Additional comments
No response