build: set modlue to "esnext" to support all generators and bundling mode (nodenext does not work for our modules)
This commit is contained in:
@@ -17,7 +17,8 @@ DON'T EDIT THIS FILE DIRECTLY. It is generated by /devops/tsconfig/index.js
|
||||
|
||||
const tsConfigBase = {
|
||||
compilerOptions: {
|
||||
module: 'nodenext',
|
||||
module: 'esnext',
|
||||
moduleResolution: 'bundler',
|
||||
moduleDetection: 'force',
|
||||
verbatimModuleSyntax: true,
|
||||
target: 'es2022',
|
||||
@@ -31,8 +32,6 @@ const tsConfigBase = {
|
||||
incremental: true,
|
||||
skipLibCheck: true,
|
||||
noImplicitOverride: true,
|
||||
/* Bundler mode */
|
||||
moduleResolution: 'bundler',
|
||||
allowImportingTsExtensions: true,
|
||||
resolveJsonModule: true,
|
||||
isolatedModules: true,
|
||||
|
||||
@@ -9,7 +9,8 @@ DON'T EDIT THIS FILE DIRECTLY. It is generated by /devops/tsconfig/index.js
|
||||
--------------------------------------------------------------------------- */
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "nodenext",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"moduleDetection": "force",
|
||||
"verbatimModuleSyntax": true,
|
||||
"target": "es2022",
|
||||
@@ -23,7 +24,6 @@ DON'T EDIT THIS FILE DIRECTLY. It is generated by /devops/tsconfig/index.js
|
||||
"incremental": true,
|
||||
"skipLibCheck": true,
|
||||
"noImplicitOverride": true,
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
|
||||
Reference in New Issue
Block a user