Skip to content

Is Superforms really a devDependency? #661

@sanoodles

Description

@sanoodles

On the docu, https://superforms.rocks/get-started says pnpm i -D sveltekit-superforms but it is not clear to me why the -D flag.

I have tried building a sveltekit 2.48 project with superforms 2.28 as devDependency and then as regular dependency and in both cases the build size was the same. So I assume the builds are equal.

Note that a security downside of marking as devDependency something that is actually in the production build is that pnpm audit --prod does not list its vulnerabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions