diff --git a/vite.config.ts b/vite.config.ts index b9695ef..39ce16e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,9 +24,9 @@ export default defineConfig({ build: { cssCodeSplit: false, lib: { - entry: "./src/LottieWebVuePlugin.ts", + entry: "./src/LottieAnimation.ts", formats: ["es", "cjs"], - name: "LottieWebVuePlugin", + name: "LottieAnimation", fileName: (format) => (format == "es" ? "index.js" : "index.cjs"), }, rollupOptions: {