Skip to content

[create-svelte] packaging shouldn't override the build command for skeletonlib #8240

@gtm-nayan

Description

@gtm-nayan

Describe the problem

I've seen a few instances (recent) of people being confused by the build task for the skeletonlib template.

I'm assuming it's carrying over the conventions of build being used to create the dist files in projects that use tsc, babel etc.? Opening an issue instead of a direct PR in case my assumption was wrong and there is some benefit I missed.

The app part of the skeletonlib template is often used for as a testbed and for documentation sites. For the former use case, having a build command allows package authors to verify that they don't get any weird differences between dev and build mode due to bundlers, and a build command would be needed regardless for co-located documentation sites.

Describe the proposed solution

move packaging into a "package" task, and reinstate the "build" task

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions