Skip to content

Commit c200a39

Browse files
committed
wip: remove dts temporarily
1 parent 05a6967 commit c200a39

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

rollup.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import nodeConfig from "./src/rollup-node";
22
import bundleConfig from "./src/rollup-bundle";
3-
import dtsConfig from "./src/rollup-dts";
43

54
export default [
65
//
76
nodeConfig,
87
bundleConfig,
9-
dtsConfig,
108
];

src/rollup-node.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import generatePackageJson from "rollup-plugin-generate-package-json";
33
import { compilePlugins } from "./rollup-common";
44
import { getPkgJsonBaseContents } from "./gen-pkg";
55
import getEntryFiles from "./util/entry-files";
6-
import { chunkFileNames, typescriptDeclarationDir } from "./util/common";
6+
import { chunkFileNames } from "./util/common";
77
import type { OutputOptions, RollupOptions } from "rollup";
88

99
const commonOutputOptions: Partial<OutputOptions> = {
@@ -27,12 +27,7 @@ const nodeConfig: RollupOptions = {
2727
optDeps: true,
2828
devDeps: false,
2929
}),
30-
...compilePlugins({
31-
typescript: {
32-
declaration: true,
33-
declarationDir: "dist/es/" + typescriptDeclarationDir,
34-
},
35-
}),
30+
...compilePlugins(),
3631
// https://github.com/vladshcherbin/rollup-plugin-generate-package-json
3732
generatePackageJson({
3833
baseContents: getPkgJsonBaseContents,

0 commit comments

Comments
 (0)