feat(cordis): add repository package cache
This commit is contained in:
18
vendor/loader/tsdown.config.ts
vendored
Normal file
18
vendor/loader/tsdown.config.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from 'tsdown'
|
||||
|
||||
/** Keep the browser-reachable Loader entry separate from the Node-only repository cache. */
|
||||
const shared = {
|
||||
outDir: 'lib',
|
||||
format: ['esm'],
|
||||
platform: 'node',
|
||||
target: 'es2024',
|
||||
fixedExtension: false,
|
||||
outputOptions: { codeSplitting: false },
|
||||
dts: false,
|
||||
clean: false,
|
||||
} as const
|
||||
|
||||
export default defineConfig([
|
||||
{ ...shared, entry: ['lib/types/index.js'] },
|
||||
{ ...shared, entry: ['lib/types/repository.js'] },
|
||||
])
|
||||
Reference in New Issue
Block a user