Remove svg support in Playground
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import React, { useRef, useState } from 'react'
|
||||
import { IFiles, IImportMap } from '@/components/Playground/shared'
|
||||
import iframeRaw from '@/components/Playground/Output/Preview/iframe.html?raw'
|
||||
import { useUpdatedEffect } from '@/util/hooks'
|
||||
import Compiler from '@/components/Playground/compiler'
|
||||
import '@/components/Playground/Output/Preview/preview.scss'
|
||||
import { IFiles, IImportMap } from '@/components/Playground/shared'
|
||||
import Compiler from '@/components/Playground/compiler'
|
||||
import iframeRaw from '@/components/Playground/Output/Preview/iframe.html?raw'
|
||||
|
||||
interface PreviewProps {
|
||||
iframeKey: string
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import React, { useState } from 'react'
|
||||
import React from 'react'
|
||||
import MonacoEditor from '@monaco-editor/react'
|
||||
import { Loader } from 'esbuild-wasm'
|
||||
import '@/components/Playground/Output/Transform/transform.scss'
|
||||
import { useUpdatedEffect } from '@/util/hooks.tsx'
|
||||
import { IFile, ITheme } from '@/components/Playground/shared.ts'
|
||||
import Compiler from '@/components/Playground/compiler.ts'
|
||||
import { cssToJs, jsonToJs } from '@/components/Playground/files.ts'
|
||||
import { MonacoEditorConfig } from '@/components/Playground/CodeEditor/Editor/monacoConfig.ts'
|
||||
import { addReactImport } from '@/components/Playground/utils.ts'
|
||||
import { useUpdatedEffect } from '@/util/hooks'
|
||||
import { IFile, ITheme } from '@/components/Playground/shared'
|
||||
import { addReactImport } from '@/components/Playground/utils'
|
||||
import { cssToJs, jsonToJs } from '@/components/Playground/files'
|
||||
import Compiler from '@/components/Playground/compiler'
|
||||
import { MonacoEditorConfig } from '@/components/Playground/CodeEditor/Editor/monacoConfig'
|
||||
|
||||
interface OutputProps {
|
||||
file: IFile
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React, { useState } from 'react'
|
||||
import FlexBox from '@/components/common/FlexBox.tsx'
|
||||
import React from 'react'
|
||||
import FlexBox from '@/components/common/FlexBox'
|
||||
import { IFiles, IImportMap } from '@/components/Playground/shared'
|
||||
import FileSelector from '@/components/Playground/CodeEditor/FileSelector'
|
||||
import Transform from '@/components/Playground/Output/Transform'
|
||||
import { IFiles, IImportMap } from '@/components/Playground/shared.ts'
|
||||
import Preview from '@/components/Playground/Output/Preview'
|
||||
|
||||
interface OutputProps {
|
||||
|
||||
Reference in New Issue
Block a user