mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix: migrate to standard import attributes (#8803)
This commit is contained in:
@@ -2,7 +2,7 @@ const semver = await import('semver').catch(
|
||||
() => import('../packages/backend/server/node_modules/semver/index.js')
|
||||
);
|
||||
|
||||
import packageJson from '../package.json' assert { type: 'json' };
|
||||
import packageJson from '../package.json' with { type: 'json' };
|
||||
|
||||
const { engines } = packageJson;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user