Browse Source

fix build

Paul 5 years ago
parent
commit
d6a28d9a93
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      tsconfig.cjs.json
  2. 1
    1
      tsconfig.json

+ 2
- 2
tsconfig.cjs.json View File

2
   "extends": "./tsconfig.json",
2
   "extends": "./tsconfig.json",
3
   "compilerOptions": {
3
   "compilerOptions": {
4
     "module": "commonjs",
4
     "module": "commonjs",
5
-    "rootDir": "./src",
6
-    "outDir": "dist/cjs",
5
+    "rootDir": "src",
6
+    "outDir": "dist",
7
     "declaration": true,
7
     "declaration": true,
8
     "declarationDir": "dist/types",
8
     "declarationDir": "dist/types",
9
     "sourceMap": false
9
     "sourceMap": false

+ 1
- 1
tsconfig.json View File

16
     "rootDirs": ["src", "example"],
16
     "rootDirs": ["src", "example"],
17
     "outDir": "lib/"
17
     "outDir": "lib/"
18
   },
18
   },
19
-  "include": ["src/**/*", "example/**/*"]
19
+  "include": ["src/**/*"]
20
 }
20
 }