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.

Phantom Error when trying to compile with target ES6 #37

Closed
@alexandertrefz

Description

@alexandertrefz

I have a small project that i am compiling with rollup in multiple ways - basically I compile an output file for every possible target. They all compile and work just fine, except when I use ES6 as a target, in which case it tells me that it finds an Unexpected token (7:50) in a file, but line 7 doesnt even have 50 columns in that file. Tinkering with the any of the files of that project does not change the reported location of the error. All other targets work, using tsc directly works without error as well. I also have used the same rollup config on another project where all the compiles work just fine.

Can you hint me towards debugging this maybe? Is there any kind of verbose mode for rollup so that i can get more context for the error it finds?

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