We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76848d8 commit 29a8d8dCopy full SHA for 29a8d8d
.gitignore
@@ -130,5 +130,4 @@ dist
130
.pnp.*
131
132
# Extra
133
-tsconfig.json
134
-tsup.config.ts
+tsconfig.json
package.json
@@ -9,7 +9,7 @@
9
"tpl-parser": "./dist/cli.js"
10
},
11
"scripts": {
12
- "build": "tsup"
+ "build": "tsup --config tsup.config.ts"
13
14
"repository": {
15
"type": "git",
@@ -43,4 +43,4 @@
43
"python-struct": "^1.1.3",
44
"tpl-parser": "file:"
45
}
46
-}
+}
tsup.config.ts
@@ -0,0 +1,11 @@
1
+import { defineConfig } from "tsup";
2
+
3
+export default defineConfig({
4
+ entry: ["./src/index.ts", "./src/cli.ts"],
5
+ format: ["cjs", "esm"],
6
+ dts: true,
7
+ sourcemap: true,
8
+ clean: true,
+ shims: true,
+ skipNodeModulesBundle: true,
+});
0 commit comments