Skip to content

Commit b85fff6

Browse files
committed
[cr] try esnext build
1 parent cb1cb17 commit b85fff6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "tsqtsq",
33
"version": "1.0.5",
44
"main": "dist/index.js",
5-
"module": "dist/index.js",
65
"types": "dist/index.d.ts",
6+
"files": ["dist"],
77
"license": "AGPL-3.0-only",
88
"description": "A reusable and composable query library for Prometheus",
99
"keywords": [

tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
1111

1212
/* Language and Environment */
13-
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14-
"lib": ["es2017", "es7", "es6", "dom"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
13+
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
14+
"lib": ["ESNext"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
1515
// "jsx": "preserve", /* Specify what JSX code is generated. */
1616
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
1717
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
@@ -24,7 +24,7 @@
2424
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
2525

2626
/* Modules */
27-
"module": "amd", /* Specify what module code is generated. */
27+
"module": "ESNext", /* Specify what module code is generated. */
2828
// "rootDir": "./", /* Specify the root folder within your source files. */
2929
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
3030
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
@@ -53,7 +53,7 @@
5353
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
5454
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
5555
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
56-
"outFile": "dist/index.js", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
56+
// "outFile": "dist/index.js", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
5757
"outDir": "./dist", /* Specify an output folder for all emitted files. */
5858
// "removeComments": true, /* Disable emitting comments. */
5959
// "noEmit": true, /* Disable emitting files from a compilation. */

0 commit comments

Comments
 (0)