solid-router icon indicating copy to clipboard operation
solid-router copied to clipboard

[!] Error: Could not resolve './components' from .yarn/unplugged/@rturnq-solid-router-virtual-ad77b1e0c5/node_modules/@rturnq/solid-router/dist/index.jsx

Open jerrynim opened this issue 2 years ago • 0 comments

Hi, I met this error

[!] Error: Could not resolve './components' from .yarn/unplugged/@rturnq-solid-router-virtual-ad77b1e0c5/node_modules/@rturnq/solid-router/dist/index.jsx

It caused when i use '@rollup/plugin-node-resolve', because file which import components file is .jsx format so, i need to add extensions : [".jsx"] to handle error

I think using '.js' instead of using ".jsx" is handleful for using thanks!

jerrynim avatar Mar 21 '22 05:03 jerrynim