Skip to content

Commit

Permalink
Revert CJS support - not actually needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkistner committed Sep 12, 2024
1 parent e007acc commit b24336b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 45 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
node_modules
lib
dist
cjs
*.tsbuildinfo
.vscode
.DS_STORE
Expand Down
5 changes: 2 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
},
"description": "API definitions for JourneyApps PowerSync",
"type": "module",
"main": "dist/bundle.cjs",
"main": "dist/bundle.mjs",
"module": "dist/bundle.mjs",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./dist/bundle.mjs",
"require": "./dist/bundle.cjs",
"default": "./dist/bundle.mjs",
"types": "./lib/index.d.ts"
}
Expand All @@ -33,7 +32,7 @@
},
"homepage": "https://docs.powersync.com",
"scripts": {
"build": "tsc -b && rollup -c rollup.config.mjs && rollup -c rollup-cjs.config.mjs",
"build": "tsc -b && rollup -c rollup.config.mjs",
"clean": "rm -rf lib dist tsconfig.tsbuildinfo",
"test": "vitest"
},
Expand Down
41 changes: 0 additions & 41 deletions packages/common/rollup-cjs.config.mjs

This file was deleted.

0 comments on commit b24336b

Please sign in to comment.