Skip to content

Commit

Permalink
fix: fix commonjs import bug #650
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed May 7, 2022
1 parent 311c931 commit 15403ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/vue-moveable/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export default buildHelper([
{
...defaultOptions,
format: "cjs",
// input: "./src/index.umd.ts",
exports: "named",
input: "./src/index.umd.ts",
exports: "default",
output: "./dist/moveable.cjs.js",
},
]);
4 changes: 2 additions & 2 deletions packages/vue3-moveable/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export default buildHelper([
{
...defaultOptions,
format: "cjs",
// input: "./src/index.umd.ts",
exports: "named",
input: "./src/index.umd.ts",
exports: "default",
output: "./dist/moveable.cjs.js",
},
]);

0 comments on commit 15403ce

Please sign in to comment.