forked from loafle/openapi-generator-original
[typescript-axios] Use CommonJS when using ES5 as target as per Typescript docs (#10316)
* [typescript-axios] Use CommonJS when using ES5 as target as per Typescript docs * [typescript-axios] Restore original identation
This commit is contained in:
committed by
GitHub
parent
a447df04bd
commit
b01e3c9613
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"target": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
|
||||
"module": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
|
||||
"module": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}CommonJS{{/supportsES6}}",
|
||||
"noImplicitAny": true,
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"target": "ES5",
|
||||
"module": "ES5",
|
||||
"module": "CommonJS",
|
||||
"noImplicitAny": true,
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"target": "ES5",
|
||||
"module": "ES5",
|
||||
"module": "CommonJS",
|
||||
"noImplicitAny": true,
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"moduleResolution": "node",
|
||||
"module": "ES5",
|
||||
"module": "CommonJS",
|
||||
"target": "ES5",
|
||||
"noImplicitAny": true,
|
||||
"sourceMap": false,
|
||||
|
||||
Reference in New Issue
Block a user