Initial Commit
This commit is contained in:
28
packages/media/audio/audio-sprite-packer/vite.config.ts
Normal file
28
packages/media/audio/audio-sprite-packer/vite.config.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { defineConfig } from "vite";
|
||||
import dts from "vite-plugin-dts";
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: {
|
||||
index: "./src/index.ts",
|
||||
"core/audio-sprite-packer/audio-sprite-packer": "./src/core/audio-sprite-packer/audio-sprite-packer.ts",
|
||||
"adapters/null-adapter/null-adapter": "./src/adapters/null-adapter/null-adapter.ts",
|
||||
"utils/manifest/manifest": "./src/utils/manifest/manifest.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