Skip to content

Elysia static always using default bun loader #54

@cjkeilig

Description

@cjkeilig

Hi I'm upgrading my chat assistant application which uses the static plugin to bun 1.3.3, the latest version of elsyia, replacing vite with the bun bundler.

The flow I want in our build process is, frontend builds static assets (bun build index.html --outdir dist), then that static dist folder gets used by the elysia backend with the static plugin.

The newer version of the static plugin is always using the default Bun loader for html so bun is trying to bundle an already bundled frontend application.

Is there a way around this?

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