Skip to content

Commit 5b2404f

Browse files
committed
🎉 feat: remove cjs
1 parent 233731f commit 5b2404f

File tree

3 files changed

+3
-109
lines changed

3 files changed

+3
-109
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elysiajs/html",
3-
"version": "0.1.0-rc.3",
3+
"version": "0.1.0-rc.4",
44
"description": "Plugin for Elysia that add support for returning html",
55
"author": {
66
"name": "saltyAom",
@@ -29,9 +29,7 @@
2929
"scripts": {
3030
"dev": "bun run --hot example/index.ts",
3131
"test": "bun wiptest",
32-
"build": "rimraf dist && npm run build:cjs && npm run build:esm",
33-
"build:cjs": "tsc --project tsconfig.cjs.json",
34-
"build:esm": "tsc --project tsconfig.esm.json",
32+
"build": "rimraf dist && tsc --project tsconfig.esm.json",
3533
"release": "npm run build && npm run test && npm publish --access public"
3634
},
3735
"peerDependencies": {

tsconfig.cjs.json

Lines changed: 0 additions & 104 deletions
This file was deleted.

tsconfig.esm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
5151
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
5252
"outDir": "./dist", /* Specify an output folder for all emitted files. */
53-
// "removeComments": true, /* Disable emitting comments. */
53+
"removeComments": true, /* Disable emitting comments. */
5454
// "noEmit": true, /* Disable emitting files from a compilation. */
5555
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
5656
// "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */

0 commit comments

Comments
 (0)