Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Consider using bundler from ellx-app #125

Open
@wlach

Description

@wlach

Irydium's bundler (what turns a set of svelte components + javascript into a web page) is based off of the REPLicant repository (as well as the presentation given at Svelte summit 2020) with only some minor modifications. REPLicant an impressive piece of demoware, but its intention was always didactic: it was never meant to actually be used in production. Notably, the Irydium bundler lacks:

  • Comprehensive support for importing the universe of packages from npm (many things don't work)
  • Ability to cancel an in-progress bundling
  • Source maps
  • Any kind of caching
  • HOT-module reloading
  • ... probably other things I'm forgetting...

There's lots of great innovation in the "bundling" space (snowpack, vite, esbuild, ...) in general but AFAIK there's nothing well-established that allows bundling to happen in the client as a first class citizen (e.g. they assume you have a full-blown node setup on your workstation). The one exception seems to be the ellx bundler by @dmaevsky and @matyunya, which was recently open sourced:

https://github.com/dmaevsky/ellx-app/tree/master/src/bundler

It already supports at least the first and second items on the list above and it looks like there's probably a path to supporting the rest. We should consider using it in Irydium, one way or another.

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