Skip to content

Bundle is an abomination #7

@The-Noah

Description

@The-Noah

The bundle emitted by Deno is an abomination.

  • Filled with garbage.
    • What in the world is this and why does it exist? The variables aren't even used.
const Zone1 = Zone;
const MeshPyramid1 = MeshPyramid;
const Base1 = Base;
const MeshBox1 = MeshBox;
const World1 = World;
  • Renames things it shouldn't.
    • bzw into mod, which has to be manually overwritten.
  • Modules lose their scope.
    • Such as dom and highlight.

Right now the bundle must be manually edited by the build script: build.ts#L34-L44

Possibly related: swc-project/swc#1349

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildRelated to build script/process

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions