Skip to content

Commit

Permalink
[esprit design] Exclude GSAP from the bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Dorofeev committed Jun 23, 2024
1 parent e4b76a0 commit 3ba3385
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silly-pumpkins-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@d0rich/esprit-design': patch
---

Exclude gsap from the bundle
2 changes: 1 addition & 1 deletion packages/esprit-design/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
rollupOptions: {
// make sure to externalize deps that shouldn't be bundled
// into your library
external: ['vue'],
external: ['vue', 'gsap'],
output: {
// Provide global variables to use in the UMD build
// for externalized deps
Expand Down

0 comments on commit 3ba3385

Please sign in to comment.