https://github.com/mattjennings/svelte-kit-package-extensions-bug
https://github.com/mattjennings/svelte-kit-package-extensions-bug
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattjennings/svelte-kit-package-extensions-bug
- Owner: mattjennings
- Created: 2021-09-04T16:58:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T17:03:37.000Z (almost 4 years ago)
- Last Synced: 2025-04-08T19:31:47.107Z (2 months ago)
- Language: JavaScript
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# svelte-kit package extensions bug
This demonstrates the bug described in https://github.com/sveltejs/kit/issues/2040
- first, run `pnpm install`
- go to `svelte-library/src/lib/index.ts`
- notice the two different exports. One will work only in webpack but fail when used internally in `src/routes`, and the other vice-versa.
- both projects can be started with `pnpm run dev`, `svelte-library` can be built using `pnpm run build`