diff --git a/src/constants/r2Prefixes.ts b/src/constants/r2Prefixes.ts index 57e31b6..4f38f71 100644 --- a/src/constants/r2Prefixes.ts +++ b/src/constants/r2Prefixes.ts @@ -3,7 +3,7 @@ // later on. // (e.g. url path `/dist` points to R2 path `nodejs/release`) // See https://raw.githubusercontent.com/nodejs/build/main/ansible/www-standalone/resources/config/nodejs.org -import map from './redirectLinks.json'; +import map from './redirectLinks.json' assert { type: "json" }; export const REDIRECT_MAP = new Map(map as [string, string][]);