Skip to content

Why the CJS in svelte.config.cjs? #1064

@janosh

Description

@janosh

Why does svelte.config.cjs use CommonJS? Seems like a design that won't age well. It also prevents sharing logic between the dev and build steps. Can't every file in a project of "type": "module" use ES modules?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions