sverweij / dependency-cruiser

Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
https://npmjs.com/dependency-cruiser
MIT License
5.27k stars 250 forks source link

chore: makes generated .mjs schemas smaller #934

Closed sverweij closed 5 months ago

sverweij commented 5 months ago

Description

Motivation and Context

Trying to make the distribution as small as it can be, without resorting to unreadable minified code.

How Has This Been Tested?

Screenshots

Differences are just a few %, but every byte helps.

After: package size: 161.8 kB (-1.8 kB) unpacked size: 629.1 kB (-9.4 kB)

Before: package size: 163.6 kB unpacked size: 638.5 kB

Types of changes

Checklist

codeclimate[bot] commented 5 months ago

Code Climate has analyzed commit 0319b8dd and detected 0 issues on this pull request.

View more on Code Climate.