Skip to content

Doesn't respect amd.id #34

Open
Open
@RReverser

Description

@RReverser

The main chunk is currently always exported as ./filename.js - e.g. define("./index.js", ...), which makes it hard to use on the same page as other AMD modules not produced by the same bundle.

Rollup allows to specify custom name via amd.id, but this option is currently ignored by rollup-plugin-off-main-thread.

Alternatively, it should just do for the main entry chunk what Rollup does in AMD mode too - emit anonymous define.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions