davidgonmar
davidgonmar
Explore posts from servers
PD🧩 Plasmo Developers
Created by davidgonmar on 7/20/2023 in #👟framework
Cannot import package that exposes .mjs files instead of .js files
Hey! I wanted to use lucide-react on my project and used a regular import. However, this error is shown: Failed to resolve 'lucide-react' from './contents/button.tsx'
'./dist/esm/lucide-react.js' does not exist, did you mean './di
st/esm/lucide-react.mjs'?'
'./dist/esm/lucide-react.js' does not exist, did you mean './di
st/esm/lucide-react.mjs'?'
Apparently it does not detect .mjs files and just looks for .js files. Any workarounds? I have used this library just fine in other non-plasmo projects. Anything I should know? Thanks:)
18 replies
PD🧩 Plasmo Developers
Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
33 replies