Skip to content

Commit

Permalink
feat(vite-plugin): add entry point (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarthificial committed May 28, 2023
1 parent 12e9bf6 commit e634b6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@motion-canvas/vite-plugin",
"version": "3.8.0",
"description": "A Vite plugin for Motion Canvas projects",
"main": "lib/main.js",
"main": "lib/index.js",
"author": "motion-canvas",
"homepage": "https://motioncanvas.io/",
"bugs": "https://github.com/motion-canvas/motion-canvas/issues",
Expand Down
4 changes: 4 additions & 0 deletions packages/vite-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import motionCanvas from './main';

export default motionCanvas;
export * from './plugins';

0 comments on commit e634b6c

Please sign in to comment.