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
|
@ -5,7 +5,7 @@ import { type UserConfig, defineConfig } from 'vite';
|
|||
|
||||
import locales from '../../locales/index.js';
|
||||
import meta from '../../package.json';
|
||||
import packageInfo from './package.json' assert { type: 'json' };
|
||||
import packageInfo from './package.json' with { type: 'json' };
|
||||
import pluginUnwindCssModuleClassName from './lib/rollup-plugin-unwind-css-module-class-name.js';
|
||||
import pluginJson5 from './vite.json5.js';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue