vite icon indicating copy to clipboard operation
vite copied to clipboard

v1.0.0: error in shared dependencies ending with "/"

Open husayt opened this issue 6 months ago • 7 comments

Some examples show using dependencies ending with /, but when I try the same here I get error:

error when starting dev server:
Error: Missing "./" specifier in "react" package

when

shared: {
         react:  {  },
         "react/": {  },
...
}

husayt avatar Aug 07 '24 11:08 husayt