update tsconfig in the correct place + enlarge the warning
This commit is contained in:
@@ -3,13 +3,23 @@ import { format, resolveConfig } from 'prettier';
|
||||
import { createImportMap } from '../importmap/index.js';
|
||||
|
||||
const tsconfigPath = 'tsconfig.json';
|
||||
const tsconfigComment = `// Don't edit this file directly. It is generated by /devops/tsconfig/index.js\n\n`;
|
||||
const tsconfigComment = `
|
||||
/* -------------------------------------------------------------------------
|
||||
|
||||
|
||||
DON'T EDIT THIS FILE DIRECTLY. It is generated by /devops/tsconfig/index.js
|
||||
|
||||
|
||||
|
||||
|
||||
--------------------------------------------------------------------------- */
|
||||
`;
|
||||
|
||||
const tsConfigBase = {
|
||||
compilerOptions: {
|
||||
module: 'esnext',
|
||||
target: 'ES2020',
|
||||
lib: ['es2020', 'dom', 'dom.iterable'],
|
||||
target: 'es2022',
|
||||
lib: ['es2022', 'dom', 'dom.iterable'],
|
||||
outDir: './types',
|
||||
allowSyntheticDefaultImports: true,
|
||||
experimentalDecorators: true,
|
||||
|
||||
Reference in New Issue
Block a user