Webpack has been incredibly popular around the JS world. Its design philosophy wins trustment of the community.
To further envolvement, it’s very important that webpack has solid codebase to embrace the rapidly changing world.
However, as code grows, without great test suite and other devtool, code can be gross. For now, webpack’s source is written in ES5. And as you know, there isn’t much documentation in the source. It’s hard for incoming contributors to understand the codebase. Thus, it’s harder to make webpack real-better.
Typescript is a great tool to help webpack to achieve greater goal.
SO, you can see https://github.com/ts-webpack/webpack/tree/feature/tsify is out!
Current status of ts-webpack
the core dependency tree of webpack have been converted into typescript mostly(except watchpack).
types of those sorrounding modules have been submitted to DefinintelyTyped. This is for more accurate type checking for webpack eventually.
the source code of webpack has been converted into typescript catching up with the recent commits(needs further synchronization)
its fully compatibility with current test suite. (There is one bug of the latest typescript which will causes test error)
strictNullChecksand make the source fully type-checked.
a new set of build-tool to support and guard the new source code.
refactoring to make some code more clear to be understood.
adopt ES6 module system to fix the reference error as some module’s structure is incompatitble with the type system(at least for now there is no easy way to solve that).
responses from the webpack core-team and the community