Jelajahi Sumber

Specify outDir/ in tsconfig.json.

Michael Bolin 5 tahun lalu
induk
melakukan
a6487b4d7e
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 1 0
      .gitignore
  2. 1 0
      tsconfig.json

+ 1 - 0
.gitignore

@@ -1 +1,2 @@
+/dist/
 /node_modules/

+ 1 - 0
tsconfig.json

@@ -1,6 +1,7 @@
 {
   "include": ["./src/**/*"],
   "compilerOptions": {
+    "outDir": "./dist/",
     "module": "esnext",
     "moduleResolution": "node",
     "target": "es2019",