Skip to content

refactor: inline parse#100

Open
hyperz111 wants to merge 17 commits intotinylibs:mainfrom
hyperz111:inline-parse
Open

refactor: inline parse#100
hyperz111 wants to merge 17 commits intotinylibs:mainfrom
hyperz111:inline-parse

Conversation

@hyperz111
Copy link
Copy Markdown

@hyperz111 hyperz111 commented Mar 26, 2026

Some points in here:

  • Maybe we can remove the dist/LICENSES.txt file after this.
  • JavaScript output file size is now smaller.
  • Only tree-shaking the Windows logic.

Before:

ℹ Build start
ℹ Cleaning 3 files
ℹ dist/main.mjs    16.18 kB │ gzip: 5.16 kB
ℹ dist/main.d.mts   3.18 kB │ gzip: 1.00 kB
ℹ 2 files, total: 19.36 kB

After:

ℹ Build start
ℹ Cleaning 3 files
ℹ dist/main.mjs    8.19 kB │ gzip: 2.94 kB
ℹ dist/main.d.mts  3.18 kB │ gzip: 1.00 kB
ℹ 2 files, total: 11.32 kB

TODO

  • Try test this on Windows
  • Adding test for parser.

@hyperz111 hyperz111 marked this pull request as ready for review March 28, 2026 08:15
@hyperz111
Copy link
Copy Markdown
Author

cc @43081j

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant