File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 11import nodeConfig from "./src/rollup-node" ;
22import bundleConfig from "./src/rollup-bundle" ;
3- import dtsConfig from "./src/rollup-dts" ;
43
54export default [
65 //
76 nodeConfig ,
87 bundleConfig ,
9- dtsConfig ,
108] ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import generatePackageJson from "rollup-plugin-generate-package-json";
33import { compilePlugins } from "./rollup-common" ;
44import { getPkgJsonBaseContents } from "./gen-pkg" ;
55import getEntryFiles from "./util/entry-files" ;
6- import { chunkFileNames , typescriptDeclarationDir } from "./util/common" ;
6+ import { chunkFileNames } from "./util/common" ;
77import type { OutputOptions , RollupOptions } from "rollup" ;
88
99const 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 ,
You can’t perform that action at this time.
0 commit comments