mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 02:21:51 +08:00
fix: migrate to standard import attributes (#8803)
This commit is contained in:
@@ -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,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 {
|
||||
|
||||
Reference in New Issue
Block a user