Open barak007 opened 3 years ago
WIP
This error can occur when using a 3rd party packages that contains esm
and cjs
dists and somewhere in code an import is resolved once to the esm
dist and in the same build to the cjs
dist. This can happen if there is a direct dist
import
Describe your issue
Stylable emits this error but does not give a clear way for how to solve/investigate the problem.
This is because usually the solution is not in the Stylable domain and related to package (npm) composition and build strategies.
Since we don't want to explode the error message with text. We can create a page in Stylable.io explaining this error (and maybe all the errors), then we can just give an additional link in the error description that will give extra information for the next steps.
Additional Context
No response