Include only needed files to npm package #52
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
It seems that this package is 444 kB by npm's report.
I think there are a lot unnecessary files included in the published package: https://www.npmjs.com/package/@lezer/markdown?activeTab=code
For example
So only files that should be included in ´files` section in package.json seem to be
There may be other files to be included depending on your preferences. But I think usually only these files are needed :) That probably about halves the package size.