svelte-datepicker icon indicating copy to clipboard operation
svelte-datepicker copied to clipboard

Svelte dev dependency optimization fails

Open gthomas3 opened this issue 2 years ago • 0 comments

Steps taken:

  1. npm install --save @beyonk/svelte-datepicker
  2. npm run dev

Result: Screen Shot 2021-12-16 at 9 47 44 AM

Environment: svelte - 3.42.3 node - 14.16.0 npm - 7.24.0

Note

  • npm run build works
  • If you have the dev server running and then install the package, there is no issue. It's only upon starting the dev server that the issue appears.

I've also tried these vite.config adjustments with no success: ssr: { noExternal: true, }, and optimizeDeps: { include: ['dayjs'] }

gthomas3 avatar Dec 16 '21 14:12 gthomas3