Files
Stephen Zhouandautofix-ci[bot] 226110d611 feat(web): set up @dify/openapi-content-mapper foundations (#44627)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-26 05:06:34 +00:00

21 lines
555 B
TypeScript

import { defineConfig } from 'vite-plus'
export default defineConfig({
pack: {
clean: true,
deps: { neverBundle: true },
// Vite+ 1.4's declaration generator does not detect TypeScript 7.1 beta.
dts: false,
entry: ['src/**/*.ts'],
format: ['esm'],
onSuccess: 'tsc -p tsconfig.json --emitDeclarationOnly',
outDir: 'dist',
fixedExtension: false,
platform: 'node',
root: 'src',
target: 'node24',
// The mapper hashes its sibling modules to invalidate cached compiler output.
unbundle: true,
},
})