Skip to content

Commit

Permalink
fix: fix commonjs issue #650
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed May 8, 2022
1 parent b3986de commit 89a5fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/vue-moveable/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const defaultOptions = {
sourcemap: true,
input: "./src/index.ts",
exports: "named",
external: true,
plugins: [
vuePlugin(),
]
Expand Down
3 changes: 2 additions & 1 deletion packages/vue-moveable/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import Moveable from './Moveable.vue';

export default Moveable;
export { Moveable as VueMoveable };
export * from 'moveable';
export * from "react-moveable/types";

0 comments on commit 89a5fb6

Please sign in to comment.