Why does rollup bundle devDependencies instead of dependencies? #10908
Unanswered
steve-taylor
asked this question in
Q&A
Replies: 1 comment
-
It’s hard to say without a reproduction to look at. EDIT: SvelteKit uses Vite which uses Rollup |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Pretty much what the title says. Why would things like
typescript
,eslint
,vitest
, etc., all of which should bedevDependencies
, be considered when bundling the app? Shouldn't rollup instead bundle packages that are independencies
?As it stands right now, in order to have some sort of deployable app, I have to swap my
dependencies
anddevDependencies
in mypackage.json
which is just weird.Beta Was this translation helpful? Give feedback.
All reactions