diff options
author | Kristóf Marussy <kristof@marussy.com> | 2024-03-21 12:35:52 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2024-03-21 12:35:52 +0100 |
commit | 7efa67af84b60b14724517e634673460bfcef8a1 (patch) | |
tree | 84fc64508658eb3130d1a9c9057049cdb8faf83e /package.json | |
parent | More even heading letter-spacing (diff) | |
download | blog-7efa67af84b60b14724517e634673460bfcef8a1.tar.gz blog-7efa67af84b60b14724517e634673460bfcef8a1.tar.zst blog-7efa67af84b60b14724517e634673460bfcef8a1.zip |
Also compress Docusaurus-generated files
Run the compression manually for files that are not generated by Webpack.
We must take over the @docusaurus/plugin-sitemap plugin to make sure we run
after it has generated sitemap.xml. Docusaurus runs all plugin post-build
actions in parallel with Promise.all, so the only way to do this is to invoke
the post-build action in our own one.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 74600da..57e8f60 100644 --- a/package.json +++ b/package.json | |||
@@ -32,6 +32,7 @@ | |||
32 | "@docusaurus/plugin-sitemap": "^3.1.1", | 32 | "@docusaurus/plugin-sitemap": "^3.1.1", |
33 | "@docusaurus/theme-classic": "^3.1.1", | 33 | "@docusaurus/theme-classic": "^3.1.1", |
34 | "@docusaurus/theme-common": "^3.1.1", | 34 | "@docusaurus/theme-common": "^3.1.1", |
35 | "@docusaurus/utils": "^3.1.1", | ||
35 | "@mdx-js/react": "^3.0.1", | 36 | "@mdx-js/react": "^3.0.1", |
36 | "@phosphor-icons/react": "2.1.3", | 37 | "@phosphor-icons/react": "2.1.3", |
37 | "@swc/core": "^1.4.8", | 38 | "@swc/core": "^1.4.8", |