web/_javascript
Cotes Chung 7ca9c59784
build(deps-dev): remove package rollup-plugin-license (#1796)
The `rollup-plugin-license` has been using too many deprecated dependencies, so it is necessary to remove it.

As an alternative, this changes uses Rollup `output.banner` to insert copyright information. Since `terser` runs after `output`, it is not possible to insert the Front Matter defining permlink for `sw.js` through the same way (Jekyll Front Matter is YAML rather than JS, which would cause errors with terser).

Therefore, _Jekyll Collection_ is now used to add permlink to `sw.js`, with the collection named `app`, and the directory placed in `_app`. This directory is not tracked by git, but it will be included when building the gem.
2024-06-05 23:51:10 +08:00
..
modules perf: lean bootstrap javascript (#1734) 2024-05-11 10:29:14 +08:00
pwa build(deps-dev): remove package rollup-plugin-license (#1796) 2024-06-05 23:51:10 +08:00
categories.js refactor(build): modularize JS code 2023-03-15 21:51:37 +08:00
commons.js refactor: improve js module loading order 2024-04-29 03:43:33 +08:00
home.js refactor: improve js module loading order 2024-04-29 03:43:33 +08:00
misc.js refactor: improve js module loading order 2024-04-29 03:43:33 +08:00
page.js refactor: improve js module loading order 2024-04-29 03:43:33 +08:00
post.js refactor: improve js module loading order 2024-04-29 03:43:33 +08:00