You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
// "include": ["./src/**/*/*"],
"compilerOptions": {
"allowJs": true,
// output .d.ts declaration files for consumers
"declaration": true,
"declarationDir": "./dist",
// interop between ESM and CJS modules. Recommended by TS
"esModuleInterop": true,
// error out if import and file system have a casing mismatch. Recommended by TS
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
// transpile JSX to React.createElement
"jsx": "react",
"lib": ["dom", "esnext"],
"module": "esnext",
// use Node's module resolution algorithm, instead of the legacy TS one
"moduleResolution": "node",
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
"noEmit": false,
"noFallthroughCasesInSwitch": true,
// linter checks for common issues
"noImplicitReturns": true,
// noUnused* overlap with @typescript-eslint/no-unused-vars, can disable if duplicative
"noUnusedLocals": false,
"noUnusedParameters": false,
// match output dir to input dir. e.g. dist/index instead of dist/src/index
"rootDir": "./src",
"outDir": "./dist",
// "baseUrl": "./src",
// "paths": {
// "*": ["*"]
// },
// significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
"skipLibCheck": true,
// output .js.map sourcemap files for consumers
"sourceMap": true,
// stricter type-checking for stronger correctness. Recommended by TS
"strict": true,
"typeRoots": ["./src/types", "node_modules/@types"],
// "emitDeclarationOnly": true
"target": "es6",
"build": true
}
}
Expected Behavior
Output successfully.
Actual Behavior
Throw error:
Note that you need plugins to import files that are not JavaScript
.Additional Information
The rollup config file is include with the tsconfig file in
references
array.The text was updated successfully, but these errors were encountered: