greglebreton 4e8a693745
Some checks failed
continuous-integration/drone/push Build is failing
add garagenum exp + maj url site projets
2023-01-08 16:50:31 +01:00

915 B

Contribute

Since the minifier is modular, it's very easy to add new modules:

  1. Create a ES6-file inside lib/modules/ with a function that does some minification. For example you can check lib/modules/example.es6.

  2. Add the module's name into one of those presets. You can choose either ampSafe, max, or safe.

  3. Create a JS-file inside test/modules/ with some unit-tests.

  4. Describe your module in the section "Modules".

  5. Send me a pull request.

Other types of contribution (bug fixes, documentation improves, etc) are also welcome! Would like to contribute, but don't have any ideas what to do? Check out our issues.