From cc5db541f96a723807a6c63e9449d02e0490b518 Mon Sep 17 00:00:00 2001 From: Andy Garbett Date: Sun, 20 Feb 2022 20:02:25 +0000 Subject: [PATCH] Updating config --- vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: {