Fix json module imports for node 22 (#13875)
This commit is contained in:
parent
92367cf700
commit
1616cb533e
4 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
import { fileURLToPath } from 'node:url';
|
||||
import * as esbuild from 'esbuild';
|
||||
import locales from '../../locales/index.js';
|
||||
import meta from '../../package.json' assert { type: "json" };
|
||||
import meta from '../../package.json' with { type: "json" };
|
||||
const watch = process.argv[2]?.includes('watch');
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue