Use vite to replace webpack
Compare changes
Resolves #1205 (closed)
transformSW
option, if enabled it will bundle and transform to iifestatic/img/nsfw.2958239.png
is now static/img/nsfw.DepQPhG0.png
, which may affect people who specifies exactly this path as the cover image.<script type="module">
/public/static
, which is mapped to /static
in dev and prod builds (resulting directory unchanged)Both in dev and in prod build:
猫
in emoji picker) (this depends on the actual content in emoji-annotations, not all languages are well supported)Only in dev:
[vite] hot updated: ...
in logs)