Skip to content

Commit

Permalink
fix: shims for __dirname for ESM by tsup target es2020
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed Feb 6, 2024
1 parent 841ade3 commit 174ac2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thaitype/data-viewer-server",
"version": "0.3.0-canary.6",
"version": "0.3.0-canary.7",
"description": "Display Node.js data with live-reload in a web-based table viewer.",
"main": "./dist/main.js",
"module": "./dist/main.mjs",
Expand All @@ -18,7 +18,7 @@
],
"scripts": {
"all": "run-s lint build",
"build": "tsup src/main.ts --dts --format esm,cjs",
"build": "tsup src/main.ts --dts --format esm,cjs --target es2020",
"release": "npm run build && changeset publish",
"format": "prettier -w src",
"lint": "tsc --noEmit && eslint ./src && prettier -c src",
Expand Down

0 comments on commit 174ac2f

Please sign in to comment.