ArpNetworking / sbt-typescript

A plugin for SBT that uses sbt-web to compile typescript resources.
Apache License 2.0
60 stars 26 forks source link

Output files are not copied to 'public' folder on windows #71

Closed Mat2095 closed 4 years ago

Mat2095 commented 4 years ago

When running on windows, compiling works fine and files are generated at /target/web/typescript/main/... However, they are not copied to the /target/web/public folder. On linux it works fine.

The reason seems to be that 9de85e0829936199cc5e4a372250e7c625e54452 removed two path-normalizations that are necessary. The two locations are: https://github.com/ArpNetworking/sbt-typescript/blob/00cb4f7fce6a7de6c9df3ffc4e81655e3af3280b/src/main/assets/typescript-compiler.ts#L213 https://github.com/ArpNetworking/sbt-typescript/blob/00cb4f7fce6a7de6c9df3ffc4e81655e3af3280b/src/main/assets/typescript-compiler.ts#L146