We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/index.mts(16,48): error TS1470: The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.
crafty run
yarn tsc
tsconfig.json
{ "compilerOptions": { "allowJs": false, "lib": ["ES2020"], "target": "ESNext", "module": "NodeNext", "moduleResolution": "NodeNext", "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "noUnusedLocals": false, "pretty": true, "strict": true, "sourceMap": true, "outDir": "./dist", "skipLibCheck": true, "noImplicitAny": true, "esModuleInterop": true, "declaration": false, "resolveJsonModule": true }, "include": [ "src/**/*" ], "exclude": ["node_modules", "node", "css", "etc"], "compileOnSave": false }
module.exports = { browsers: "node >= 12", presets: [ "@swissquote/crafty-preset-typescript", "@swissquote/crafty-runner-gulp", "@swissquote/crafty-preset-jest" ], js: { app: { runner: "gulp/typescript", source: ["src/*.mts", "src/**/*.mts"], inlineRuntime: true } }, jest(crafty, options) { options.testResultsProcessor = require.resolve("jest-sonar-reporter"); } };
microsoft/TypeScript#49842
The text was updated successfully, but these errors were encountered:
No branches or pull requests
crafty run
failsyarn tsc
succeedstsconfig.json
references
microsoft/TypeScript#49842
The text was updated successfully, but these errors were encountered: