From 34034ec59b376b7548c5387c08e0dfde2ea3ea9b Mon Sep 17 00:00:00 2001 From: FatttSnake Date: Wed, 24 Jan 2024 17:03:56 +0800 Subject: [PATCH] Optimize Playground --- src/components/Playground/files.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Playground/files.ts b/src/components/Playground/files.ts index ec68d81..7b91bb5 100644 --- a/src/components/Playground/files.ts +++ b/src/components/Playground/files.ts @@ -1,10 +1,10 @@ import { strFromU8, strToU8, unzlibSync, zlibSync } from 'fflate' import { languages } from 'monaco-editor' import DiagnosticsOptions = languages.json.DiagnosticsOptions +import { formatByteSize } from '@/util/common' import { IFile, IFiles, ILanguage } from '@/components/Playground/shared' import tsconfigSchema from '@/components/Playground/tsconfig-schema.json' import importMapSchema from '@/components/Playground/import-map-schema.json' -import { formatByteSize } from '@/util/common.tsx' export const TS_CONFIG_FILE_NAME = 'tsconfig.json' export const MAIN_FILE_NAME = 'App.tsx'