Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove package rollup-plugin-license #1796

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Remove package rollup-plugin-license #1796

merged 2 commits into from
Jun 5, 2024

Commits on Jun 5, 2024

  1. build: remove package rollup-plugin-license

    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.
    cotes2020 committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    3ed0c1d View commit details
    Browse the repository at this point in the history
  2. refactor: fix warning

    cotes2020 committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    8a2eeed View commit details
    Browse the repository at this point in the history