Resolves Node-style directories with `index.js` files in Rollup
-
Updated
Jul 29, 2023 - JavaScript
Resolves Node-style directories with `index.js` files in Rollup
Repro: when Foo.svelte and Foo.svelte.ts coexist, TypeScript and Vite resolve the same './Foo.svelte' import to different modules
Can't share private code? Turn a Node.js import error (ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_MODULE_NOT_FOUND) into one runnable, source-free repro.
To associate your repository with the module-resolution topic, visit your repo's landing page and select "manage topics."