screepers / screeps-typescript-starter

Starter kit for TypeScript-based Screeps AI codes.
https://screepers.gitbook.io/screeps-typescript-starter/
The Unlicense
440 stars 318 forks source link

Set resolve rootDir to src - fix #152 #153

Closed joshleblanc closed 3 years ago

pyrodogg commented 3 years ago

This seems like a reasonable safeguard as it makes the build script more explicit. If not provided, resolve uses the process current working directory, which I suppose users could break by executing from the wrong location or changing the path earlier in their build script.