Skip to content

Commit

Permalink
chore: use separate tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Nov 17, 2021
1 parent 96fcb2c commit 4227a42
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
7 changes: 1 addition & 6 deletions rollup.config.examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ import path from "path";
import typescript from "@rollup/plugin-typescript";

const typescriptOptions = {
...{
declaration: false,
noEmit: true,
resolveJsonModule: true,
},
include: ["src/**/*", "examples/**/*"],
tsconfig: "tsconfig.examples.json",
};

const examples = fs
Expand Down
13 changes: 13 additions & 0 deletions tsconfig.examples.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": false,
"noEmit": true,
"outDir": null,
"declarationDir": null,
"noImplicitAny": false,
"sourceMap": false,
"resolveJsonModule": true,
},
"include": ["src/**/*", "examples/**/*"]
}

0 comments on commit 4227a42

Please sign in to comment.