Skip to content

Commit 7e15cda

Browse files
committed
Add support for ESM
1 parent 6890b35 commit 7e15cda

27 files changed

+276
-427
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Next
22

33
- **[Feature]** Expose detailed errors for endpoint registration.
4+
- **[Feature]** Support ES modules (ESM)
45
- **[Internal]** Update project tools to [turbo-gulp](https://www.npmjs.com/package/turbo-gulp)
56
- **[Internal]** Enable integration with Codecov
67
- **[Internal]** Enable integration with Greenkeeper

gulpfile.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as buildTools from "turbo-gulp";
22

3-
import * as gulp from "gulp";
4-
import * as minimist from "minimist";
5-
import { ParsedArgs } from "minimist";
3+
import gulp from "gulp";
4+
import minimist, { ParsedArgs } from "minimist";
65

76
interface Options {
87
devDist?: string;
@@ -69,6 +68,7 @@ const example: buildTools.NodeTarget = {
6968
tsconfigJson: "src/example/tsconfig.json",
7069
mainModule: "example/main",
7170
customTypingsDir: "src/custom-typings",
71+
outModules: buildTools.OutModules.Both,
7272
tscOptions: {
7373
skipLibCheck: true,
7474
},

0 commit comments

Comments
 (0)