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

+ 1
- 1
tsconfig.json View File

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