mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
style: sort imports (#746)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { ErrorPayload, HMRPayload, Update } from 'vite'
|
||||
import type { ViteHotContext } from 'vite/types/hot'
|
||||
import type { InferCustomEventPayload } from 'vite/types/customEvent'
|
||||
import type { ViteHotContext } from 'vite/types/hot'
|
||||
|
||||
// Vite v3 doesn't export overlay
|
||||
// import { ErrorOverlay, overlayId } from 'vite/src/client/overlay'
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import fs from 'fs-extra'
|
||||
|
||||
import { getManifest } from '../src/manifest'
|
||||
import { isFirefox, log, r } from './utils'
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
// generate stub index.html files for dev entry
|
||||
import { execSync } from 'node:child_process'
|
||||
import fs from 'fs-extra'
|
||||
|
||||
import chokidar from 'chokidar'
|
||||
import fs from 'fs-extra'
|
||||
|
||||
import { isDev, isFirefox, log, r } from './utils'
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { dirname, resolve } from 'node:path'
|
||||
import process from 'node:process'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
import { bgCyan, black } from 'kolorist'
|
||||
|
||||
export const port = Number.parseInt(process.env.PORT || '') || 3303
|
||||
|
||||
Reference in New Issue
Block a user