V2: Origin based animations, Gesture Builder, New Demo, non-url-based-routing. Massive improvements.
This commit is contained in:
20
packages/core-v2/vite.config.ts
Normal file
20
packages/core-v2/vite.config.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { resolve } from "node:path";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
build: {
|
||||
outDir: "dist",
|
||||
emptyOutDir: true,
|
||||
lib: {
|
||||
entry: resolve(__dirname, "src/index.ts"),
|
||||
formats: ["es"],
|
||||
fileName: "index",
|
||||
cssFileName: "style",
|
||||
},
|
||||
// V2 intentionally has no vue-router dependency. Vue is supplied by the
|
||||
// consuming application so every scene shares the application's renderer.
|
||||
rollupOptions: { external: ["vue"] },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user