spike icon indicating copy to clipboard operation
spike copied to clipboard

Compilation error for files with round brackets in their names

Open iljamm opened this issue 7 years ago • 1 comments

I placed a number of pdfs into assets folder, which is a dump dir and expected that they would be copied into public folder, instead i got a compilation error:

{ ModuleParseError: Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.

It appears that pdfs had round brackets in their names and as soon as I removed them all compiled as expected.

Generally brackets should be allowed in file names. Could you please look into this.

iljamm avatar Jun 13 '18 08:06 iljamm

Hey thee @iljamm - I'm sorry but I don't currently have the bandwidth to look into it. If you are interested in looking into it though, this is an open source project and it would be great. Let me know if I can help you along the way 😁

jescalan avatar Jun 13 '18 17:06 jescalan