Use webassets to build typescript