local modules
working example in package.json
...
"styled-components": "5.3.11",
"moduleX": "file:./local_modules/moduleX/",
....
this will install the module from a local source using npm or pnpm or bun, but it fails with deno
4 Replies
this should work?
i.e.
But it is a built module you see where it says file: <path> this file prefix is necessary the entry is the package.json
i don't think you can get the package.json exports to map out, but if you use the
--unstable-sloppy-imports
flag, it will find the appropriate index.*
file if you just do this:
Is there a solution on how we can use a package with a file path? Or do I have to publish it every time I want to test a small change?