Initial Commit
This commit is contained in:
35
packages/media/audio/audio-core/vite.config.ts
Normal file
35
packages/media/audio/audio-core/vite.config.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { defineConfig } from "vite";
|
||||
import dts from "vite-plugin-dts";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: {
|
||||
index: "./src/index.ts",
|
||||
"document/document": "./src/document/document.ts",
|
||||
"page/page": "./src/page/page.ts",
|
||||
"plan/plan-engine": "./src/plan/plan-engine.ts",
|
||||
"plan/segment": "./src/plan/segment.ts",
|
||||
"process/process-pipeline": "./src/process/process-pipeline.ts",
|
||||
"process/block-processor": "./src/process/block-processor.ts",
|
||||
"registry/op-registry": "./src/registry/op-registry.ts",
|
||||
"stream/stream": "./src/stream/stream.ts",
|
||||
"render/render": "./src/render/render.ts",
|
||||
"stats/stats": "./src/stats/stats.ts",
|
||||
"error-codes": "./src/error-codes/index.ts",
|
||||
},
|
||||
formats: ["es"],
|
||||
},
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
external: [
|
||||
/^@suaveplan\//,
|
||||
/^@opentelemetry\//,
|
||||
"zod",
|
||||
"tslib",
|
||||
],
|
||||
},
|
||||
outDir: "./dist",
|
||||
},
|
||||
plugins: [dts({ tsconfigPath: "./tsconfig.lib.json", entryRoot: "./src" })],
|
||||
});
|
||||
Reference in New Issue
Block a user