fix: update tsup build packages (#7438)
This commit is contained in:
parent
07c80bb02c
commit
df4ea1f7ac
21 changed files with 81 additions and 61 deletions
|
|
@ -3,8 +3,4 @@ module.exports = {
|
|||
root: true,
|
||||
extends: ["@plane/eslint-config/library.js"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
project: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@ import { defineConfig } from "tsup";
|
|||
|
||||
export default defineConfig({
|
||||
entry: ["src/index.ts"],
|
||||
outDir: "dist",
|
||||
format: ["esm", "cjs"],
|
||||
dts: true,
|
||||
splitting: false,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
minify: true,
|
||||
external: ["express", "ws"],
|
||||
treeshake: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue