{ "compilerOptions": { "target": "es5", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ "module": "commonjs", /* Specify what module code is generated. */ "lib": [ "es2015", "es2017", "dom" ], "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ "strict": false, /* Enable all strict type-checking options. */ "skipLibCheck": true /* Skip type checking all .d.ts files. */, "outDir": "dist" // 將編譯過後的js檔放到dist資料夾中 } }