@madmurl0c/ngx-compress
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

ngx-compress

This package was initially made to compress angular applications before hosting them on a web server to make use of static brotli and gzip compression.

Feel free to contribute, modify and use this code.

How to use

Install the npm package

npm install @madmurl0c/ngx-compress

Use it in your package.json file

Don't forget to replace dist/prod with your actual path.

scripts: [
  "build": "{YOUR BUILD TASK HERE}"
  "postbuild": "ngx-compress --path dist/prod"
]

Need more help?

npm run ngx-compress --help

Readme

Keywords

Package Sidebar

Install

npm i @madmurl0c/ngx-compress

Weekly Downloads

13

Version

1.0.3

License

MIT

Unpacked Size

6.18 kB

Total Files

8

Last publish

Collaborators

  • madmurl0c