Skip to content

Should we add a variant built by non-webpack module bundler? #102

Closed
@tetsuharuohzeki

Description

@tetsuharuohzeki

Webpack is still one of the popular module bundler in JavaScript ecosystem. But some other tools also emerges.

For example, there is a rollup. Rollup is not only used as standalone tool, it' also used as vite's backend.

rollup emit a code that all modules are flatten by analyzing a module graph deeply. This is contrast to webpack wraps each modules by function as a emulate a module scope.

I'm not sure about that whether JSVM has already optimized about that this kind of a code emitted by rollup. However, in today's web application size, their flatten code including many variables might have some impacts related to web browser's page initialize performance.

I don't think we should drop webpack variant but I also think it might be better to add more module linker variants to get a chance to improve more workloads.

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