1MB file: package-lock.json
-
Hi,
I noticed the plugin includes a package-lock.json file over 1MB in size. Is node_modules being included in the distribution by mistake?For such a simple format type registration, I was able to implement the same functionality in under 5KB using vanilla JavaScript with WordPress APIs (wp.richText and wp.blockEditor).
indeed, in my blog I published a single file mu-plugin and require less than 100 line.of simple code (about 3K).
anyway, thanks for idea.
hope can be useful.
best regards 😊
You must be logged in to reply to this topic.