Phantom Error when trying to compile with target ES6 #37
Description
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?