Fix json module imports for node 22 (#13875)

This commit is contained in:
sirsegv
2024-06-13 10:48:01 +09:30
committed by GitHub
parent 92367cf700
commit 1616cb533e
4 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ import * as terser from 'terser';
import { build as buildLocales } from '../locales/index.js';
import generateDTS from '../locales/generateDTS.js';
import meta from '../package.json' assert { type: "json" };
import meta from '../package.json' with { type: "json" };
import buildTarball from './tarball.mjs';
const configDir = fileURLToPath(new URL('../.config', import.meta.url));