static-dev / spike

A modern static build tool, powered by webpack
http://spike.js.org
Other
470 stars 29 forks source link

Compilation error for files with round brackets in their names #97

Open iljamm opened 6 years ago

iljamm commented 6 years ago

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.

jescalan commented 6 years ago

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 😁