Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte dev dependency optimization fails #47

Open
gthomas3 opened this issue Dec 16, 2021 · 0 comments
Open

Svelte dev dependency optimization fails #47

gthomas3 opened this issue Dec 16, 2021 · 0 comments

Comments

@gthomas3
Copy link

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'] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant