fix: migrate to standard import attributes (#8803)

This commit is contained in:
Brooooooklyn
2024-11-13 08:52:05 +00:00
parent c32b29a293
commit c0f6a60a66
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import {
import chalk from 'chalk';
import { ProxyAgent, setGlobalDispatcher } from 'undici';
import corePackage from '../../packages/frontend/core/package.json' assert { type: 'json' };
import corePackage from '../../packages/frontend/core/package.json' with { type: 'json' };
const clipboard = new Clipboard();
+1 -1
View File
@@ -1,6 +1,6 @@
import type { BUILD_CONFIG_TYPE } from '@affine/env/global';
import packageJson from '../../package.json' assert { type: 'json' };
import packageJson from '../../package.json' with { type: 'json' };
import type { BuildFlags } from '../config';
export function getBuildConfig(buildFlags: BuildFlags): BUILD_CONFIG_TYPE {