Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
15.04k stars 3.25k forks source link

Migrate from inliner to web-resource-inliner #4266

Open w00000dy opened 1 week ago

w00000dy commented 1 week ago

This migrates from the old inliner package to the web-resource-inliner package.

Now we don't get this warning anymore:

(node:29032) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

If you are wondering why the flash size increased, it is because the old inline package did not respect /*! these comments */ with exclamation marks. Now, if you look at the source code, you can see the iro.js license.

Before:

RAM:   [=         ]  14.8% (used 48472 bytes from 327680 bytes)
Flash: [========= ]  86.8% (used 1365765 bytes from 1572864 bytes)

grafik

Now:

RAM:   [=         ]  14.8% (used 48472 bytes from 327680 bytes)
Flash: [========= ]  86.8% (used 1365845 bytes from 1572864 bytes)

grafik

This fixes #4166.