@quatico/websmith-compiler
v0.6.0
Published
A CLI for the websmith compiler
Downloads
134
Readme
websmith-compiler
Command-line tool to execute the frontend for the TypeScript compiler. Use the package @quatico/websmith-api for creating addons to generate extra code and process TypeScript unrelated artifacts, such as Sass, JSON, Java and Markdown, during TypeScript compilation.
Visit the websmith github repository for more information and examples.
Getting started
Installation
Install the websmith compiler package using npm:
npm i -D @quatico/websmith-compiler
Using websmith
Standard compilation
Run the compiler as binary via NodeJS with the following command:
websmith
High performance watch mode
If you used ts-loader
for webpack before, you probably used the transpileOnly
option. Websmith provide the same ability via CLI parameters:
websmith --transpileOnly --watch
If you use webpack, you can integrate @quatico/websmith-webpack into your current webpack setup.