Skip to content

Commit 999dbb4

Browse files
committed
chore: fix lint issues
1 parent 4538824 commit 999dbb4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/iles/src/node/build/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ async function bundleWithVite (config: AppConfig, entrypoints: string[] | Entryp
5555
build: {
5656
ssr,
5757
cssCodeSplit: htmlBuild || !ssr,
58-
minify: ssr ? false : true,
58+
minify: ssr,
5959
emptyOutDir: ssr,
6060
outDir: ssr ? config.tempDir : config.outDir,
6161
sourcemap: false,

packages/iles/src/node/build/chunks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import type { GetModuleInfo } from 'rolldown'
22
import type { AppConfig } from '../shared'
33

4-
type ManualChunkMeta = { getModuleInfo: GetModuleInfo }
4+
interface ManualChunkMeta {
5+
getModuleInfo: GetModuleInfo
6+
}
57
type GetManualChunk = (id: string, meta: ManualChunkMeta) => string | void
68

79
export function extendManualChunks (config: AppConfig): GetManualChunk {

0 commit comments

Comments
 (0)