mattjennings / svelte-kit-package-extensions-bug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svelte-kit package extensions bug

This demonstrates the bug described in sveltejs/kit#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

About


Languages

Language:JavaScript 80.0%Language:CSS 9.4%Language:HTML 6.5%Language:TypeScript 2.7%Language:Svelte 1.4%