Skip to content

Commit 6b00b56

Browse files
Switch to ESM-only package
1 parent 24cb815 commit 6b00b56

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

Diff for: package.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
{
22
"name": "kysely-planetscale",
33
"version": "0.2.1",
4+
"type": "module",
45
"description": "Kysely dialect for PlanetScale Serverless",
56
"repository": "https://github.com/depot/kysely-planetscale.git",
67
"homepage": "https://github.com/depot/kysely-planetscale",
78
"author": "Jacob Gillespie <[email protected]>",
89
"license": "MIT",
9-
"main": "./dist/index.js",
10-
"module": "./dist/index.mjs",
11-
"exports": {
12-
".": {
13-
"import": "./dist/index.mjs",
14-
"require": "./dist/index.js",
15-
"types": "./dist/index.d.ts"
16-
},
17-
"./package.json": "./package.json"
18-
},
10+
"main": "./dist/index.mjs",
1911
"types": "./dist/index.d.ts",
2012
"files": [
2113
"dist"
@@ -28,7 +20,7 @@
2820
"serverless"
2921
],
3022
"scripts": {
31-
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
23+
"build": "tsup src/index.ts --format esm --dts --clean",
3224
"clean": "rm -rf dist",
3325
"fmt": "prettier --write .",
3426
"fmt:check": "prettier --check .",

0 commit comments

Comments
 (0)