tsminify
v1.0.0-beta.1
Published
Typescript source file minifier providing identifier mangling and whitespace removal.
Downloads
9
Maintainers
Readme
TsMinify
TsMinify is a Typescript minifier.
Top Features
- Typescript source file minification with identifier shortening and whitespace removal.
How to install
npm install tsminify
API
tsminify.src( projectConfigPath: string, settings: any )
Where:
projectConfigPath is a relative directory path to the default Typescript project file named "tsconfig.json". Or, projectConfigPath is a relative path to a named Typescript project file.
Building TsMinifyProject
TsMinify depends on NPM as a package manager and Gulp as a build tool. If you haven't already, you'll need to install both these tools in order to build TsMinify.
Once Gulp is installed, you can build it with the following commands:
npm install
gulp build