Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

sourcemap is likely to be incorrect #132

@goumang2010

Description

@goumang2010

In babel plugin options, I ignore some files, then rollup tell me:

Sourcemap is likely to be incorrect: a plugin ('babel') was used to transform files, but didn't generate a sourcemap for the transformation.

And the generated sourcemap is wrong indeed(not contain the ignore files)
How can I get the full sourcemap that includes the ignored files of babel plugin?

The following is my babel plugin option:

{
    babelrc: false,
    "presets": [
        ["latest", {
            "es2015": {
                "modules": false
            }
        }]
    ],
    "ignore": [
        "dist/*.js",
        "vendor.js"
    ],
    "plugins": [
        "external-helpers"
    ],
    externalHelpers: true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions