Closed Aloento closed 2 years ago
WMR doesn't have great support of pure CJS dependencies, which does limit some of the React ecosystem.
We use hoofd in the docs for this repo, which I can recommend in its place, but it is a different API.
Yes - just to clarify, WMR has some CommonJS support, but packages published by the React team use a complex CommonJS setup that is very difficult (and in some cases impossible) to handle on-the-fly.
I'm going to dedupe this with #903 (thanks for pointing to that issue @Aloento!)
Describe the bug After compiling, at the top of
@npm/prop-types
, there'rethe original
prop-types.js
file is:Then,
'./@npm/object-assign'
is/@npm/@npm/object-assign
, which is incorrect path.object-assign
required byprop-types
required byreact-helmet-async
To Reproduce
yarn create wmr & yarn add react-helmet-async
index.js
Does anybody know how to fix this path?