mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
Fix: esbuild inject
This commit is contained in:
parent
9650625942
commit
f169dafa9a
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { BaseComponentProps } from '@models/BaseProps'
|
||||
import './style.scss'
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { Icon } from '@components'
|
||||
import { noop } from '@lib/helper'
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { BaseComponentProps } from '@models/BaseProps'
|
||||
import './style.scss'
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { BaseComponentProps } from '@models/BaseProps'
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { noop } from '@lib/helper'
|
||||
import { BaseComponentProps } from '@models/BaseProps'
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { BaseComponentProps } from '@models/BaseProps'
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { Icon } from '@components'
|
||||
import { noop } from '@lib/helper'
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { BaseComponentProps } from '@models/BaseProps'
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
import * as React from 'react'
|
||||
|
||||
import logo from '@assets/logo-fixing.svg'
|
||||
|
||||
export default function Overview () {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
|
||||
import { Tag, Icon } from '@components'
|
||||
import { fromNow } from '@lib/date'
|
||||
|
@ -1,5 +1,4 @@
|
||||
import classnames from 'classnames'
|
||||
import * as React from 'react'
|
||||
import { NavLink } from 'react-router-dom'
|
||||
|
||||
import logo from '@assets/logo.png'
|
||||
|
@ -34,5 +34,8 @@ export default defineConfig(
|
||||
},
|
||||
},
|
||||
build: { reportCompressedSize: false },
|
||||
esbuild: {
|
||||
jsxInject: "import React from 'react'",
|
||||
},
|
||||
}),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user