Skip to content

Commit 820cde5

Browse files
natemoo-reghostdevv
andcommitted
apply @ghostdevv review suggestions from PR #35
- replace sourceMap/declarationMap/target compiler options with skipSourceOutput: true - add type: "module" to package config - remove redundant files: ["esm"] (npm excludes lock files automatically, .npmignore handles the rest) Co-Authored-By: ghostdevv <ghostdevbusiness@gmail.com>
1 parent b63d955 commit 820cde5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tasks/build-npm.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ await build({
2020
typeCheck: false,
2121
compilerOptions: {
2222
lib: ["ESNext"],
23-
target: "ES2022",
24-
sourceMap: false,
25-
declarationMap: false,
2623
},
24+
skipSourceOutput: true,
2725
package: {
2826
name: "clayterm",
2927
version,
@@ -41,7 +39,7 @@ await build({
4139
node: ">= 22",
4240
},
4341
sideEffects: false,
44-
files: ["esm"],
42+
type: "module",
4543
},
4644
});
4745

0 commit comments

Comments
 (0)