[typescript-axios] Properly emit module as ES6 instead of commonJS when using ES6 (#10308)

This commit is contained in:
Fernando Fernández 2021-09-01 21:15:00 +02:00 committed by GitHub
parent ff6ff6e81a
commit a447df04bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,8 @@
{
"compilerOptions": {
"declaration": true,
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
"module": "commonjs",
"target": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
"module": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
"noImplicitAny": true,
"outDir": "dist",
"rootDir": ".",

View File

@ -1,8 +1,8 @@
{
"compilerOptions": {
"declaration": true,
"target": "es6",
"module": "commonjs",
"target": "ES6",
"module": "ES6",
"noImplicitAny": true,
"outDir": "dist",
"rootDir": ".",

View File

@ -1,8 +1,8 @@
{
"compilerOptions": {
"declaration": true,
"target": "es5",
"module": "commonjs",
"target": "ES5",
"module": "ES5",
"noImplicitAny": true,
"outDir": "dist",
"rootDir": ".",

View File

@ -1,8 +1,8 @@
{
"compilerOptions": {
"declaration": true,
"target": "es5",
"module": "commonjs",
"target": "ES5",
"module": "ES5",
"noImplicitAny": true,
"outDir": "dist",
"rootDir": ".",

View File

@ -1,8 +1,8 @@
{
"compilerOptions": {
"moduleResolution": "node",
"module": "commonjs",
"target": "es5",
"module": "ES5",
"target": "ES5",
"noImplicitAny": true,
"sourceMap": false,
"outDir": "dist",