ByteFE
Mar 24, 2021 · Frontend Development
Building an ES Module Package with tsc, tscpaths, and AST Tools for Asset and Style Handling
This tutorial walks through using the TypeScript compiler (tsc) together with tscpaths and AST manipulation tools like jscodeshift to resolve path aliases, copy static assets, and convert style imports from SCSS/LESS to CSS when packaging a frontend library for npm distribution.
ASTTypeScriptcli
0 likes · 24 min read