Skip to content

Commit

Permalink
core: remove cjs build
Browse files Browse the repository at this point in the history
  • Loading branch information
willybrauner committed Aug 9, 2024
1 parent 3977ca6 commit 00b71bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/interpol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dist"
],
"sideEffects": false,
"main": "./dist/interpol.cjs",
"main": "./dist/interpol.js",
"module": "./dist/interpol.js",
"types": "./dist/interpol.d.ts",
"repository": {
Expand All @@ -17,7 +17,9 @@
"interpol",
"interpolation",
"animation",
"timeline"
"anim",
"timeline",
"motion"
],
"scripts": {
"clean": "rm -rf dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/interpol/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
clean: true,
minify: "terser",
dts: true,
format: ["cjs", "esm"],
format: ["esm"],
name: "interpol",
sourcemap: true,
terserOptions: {
Expand Down

0 comments on commit 00b71bb

Please sign in to comment.