diff --git a/netlify.toml b/netlify.toml index 86034c9a7..96fefc3d0 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,12 @@ [build] publish = "dist/" command = "pnpm i --frozen-lockfile && npm i -g wasm-pack && pnpm init:biome && pnpm build:wasm-dev && pnpm build:js" + +[[headers]] +for = "/assets/biome*.wasm" +[headers.values] +# Multi-value headers are expressed with multi-line strings +cache-control = ''' + public, + max-age=31536000000 + '''