Skip to content

Sometimes when I enable this plugin for one file this file is excluded from sourcemap #85

@galoko

Description

@galoko

I didn't get exact details, I was just adding ES6 code to ES5 module like this:

insert.transform((magicString, code) => `${code}\nexport default Module;`, {
    include: "src/wasm/engine.js",
}),

and engine.js was not in sourcemap.

without this plugin everything works fine.

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