Skip to content

Path aliases now resolved at build time - Fixed while/for loops not working properly

Compare
Choose a tag to compare
@TheMrZZ TheMrZZ released this 07 Oct 09:02
· 574 commits to master since this release
ebccfef

Changelog:

  • Path aliases were previously resolved at runtime, using module-alias. However, it didn't resolve in declaration (.d.ts) files, leading to incorrect type inferring. To solve this problem, Sandstone now uses a new Typescript compiler, ttypescript. It allows the use of compiler plugins: Sandstone uses the typescript-transform-paths plugin, which resolves all path aliases at build time.
  • While/for loops weren't including the run keyword inside the recursive function. It is now solved.