Skip to content

improve support for environment api #1137

Open
@dominikg

Description

@dominikg

Describe the problem

currently vite-plugin-svelte still uses the ssr flag passed to hooks, this only works due to vites fallback support.

Describe the proposed solution

switch to this.environment information and also see what we can do with the compile cache and possibly handleHotUpdate (ssr module invalidation)

Alternatives considered

keep as is, but it might lead to less optimal usage with environment api

Importance

would make my life easier

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions