Skip to content

Commit 6c95b42

Browse files
committed
Include .mjs files.
1 parent 7427e0b commit 6c95b42

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/**
2+
* Configures the TypeScript plugin for Heft. This plugin also manages linting.
3+
*/
4+
{
5+
"$schema": "https://developer.microsoft.com/json-schemas/heft/typescript.schema.json",
6+
"extends": "@rushstack/heft-node-rig/profiles/default/config/typescript.json",
7+
8+
"emitMjsExtensionForESModule": true
9+
}

libraries/rush-sdk/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
},
1010
"homepage": "https://rushjs.io",
1111
"main": "lib/index.js",
12+
"module": "lib/index.mjs",
1213
"typings": "dist/rush-lib.d.ts",
1314
"scripts": {
1415
"build": "heft build --clean",

0 commit comments

Comments
 (0)