chore: switch from import assertions to import attributes
This commit is contained in:
parent
7660050d99
commit
80503dd2c8
3 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,14 @@ You can skip intermediate versions when upgrading from an old version, but pleas
|
|||
|
||||
Please take a look at #10947.
|
||||
|
||||
## Unreleased
|
||||
|
||||
### For systemd/pm2 users
|
||||
|
||||
Required Node.js version has been bumped from v18.19.0 to v18.20.0.
|
||||
|
||||
As written in the [v20240710 note](https://firefish.dev/firefish/firefish/-/blob/7660050d9938a5a92293bb8acc361a0ef0715912/docs/notice-for-admins.md#v20240710), it is highly recommended that you use an even newer version since v18.20.0 has known vulnerabilities.
|
||||
|
||||
## v20240725
|
||||
|
||||
### For LibreTranslate self-hosters
|
||||
|
|
|
@ -2,7 +2,7 @@ import pluginVue from "@vitejs/plugin-vue";
|
|||
import { defineConfig } from "vite";
|
||||
|
||||
import locales from "../../locales/index.mjs";
|
||||
import meta from "../../package.json" assert { type: "json" };
|
||||
import meta from "../../package.json" with { type: "json" };
|
||||
import pluginJson5 from "./vite.json5";
|
||||
import viteCompression from "vite-plugin-compression";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { defineConfig } from "vite";
|
||||
import locales from "../../locales/index.mjs";
|
||||
import meta from "../../package.json" assert { type: "json" };
|
||||
import meta from "../../package.json" with { type: "json" };
|
||||
|
||||
const isProduction = process.env.NODE_ENV === "production";
|
||||
import viteCompression from "vite-plugin-compression";
|
||||
|
|
Loading…
Reference in a new issue