2024-11-11
This commit is contained in:
parent
93eb97e446
commit
6666959f16
526 changed files with 20767 additions and 2690 deletions
|
|
@ -3,6 +3,7 @@ import { resolve } from "node:path";
|
|||
import * as v from "valibot";
|
||||
import { defineConfig } from "vite";
|
||||
import manifestSRI from "vite-plugin-manifest-sri";
|
||||
import { nodePolyfills } from "vite-plugin-node-polyfills";
|
||||
import valibot from "vite-plugin-valibot-env";
|
||||
|
||||
const SLUG_THEME = "haiku-atelier-2024";
|
||||
|
|
@ -50,5 +51,9 @@ export default defineConfig({
|
|||
// Permet de valider les variables d'environnements définies à partir d'un schéma Valibot
|
||||
valibot(SCHEMA_ENVIRONNEMENT),
|
||||
manifestSRI({ algorithms: ["sha512"] }),
|
||||
nodePolyfills({
|
||||
include: [],
|
||||
protocolImports: true,
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue