create-react-app keeps post-ES5 JavaScript
问题 I am using the TypeScript flavor of create-react-app: npx create-react-app my-app --typescript When I build the app, the bundle still includes post-ES5 code such as Symbol. What am I missing? My tsconfig file: { "compilerOptions": { "target": "es5", "lib": [ "dom", "dom.iterable", "esnext" ], "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "esnext", "moduleResolution":