mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
Fix json module imports for node 22 (#13875)
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -10,7 +10,7 @@ import { fileURLToPath } from 'node:url';
|
||||
import glob from 'fast-glob';
|
||||
import walk from 'ignore-walk';
|
||||
import Pack from 'tar/lib/pack.js';
|
||||
import meta from '../package.json' assert { type: "json" };
|
||||
import meta from '../package.json' with { type: "json" };
|
||||
|
||||
const cwd = fileURLToPath(new URL('..', import.meta.url));
|
||||
const ignore = [
|
||||
|
||||
Reference in New Issue
Block a user