Skip to content

Commit

Permalink
Updating config
Browse files Browse the repository at this point in the history
  • Loading branch information
garbit committed Feb 20, 2022
1 parent 803f7e5 commit cc5db54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit cc5db54

Please sign in to comment.