Skip to content

Commit

Permalink
Include .mjs files.
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Feb 6, 2022
1 parent 7427e0b commit 6c95b42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libraries/rush-sdk/config/typescript.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* Configures the TypeScript plugin for Heft. This plugin also manages linting.
*/
{
"$schema": "https://developer.microsoft.com/json-schemas/heft/typescript.schema.json",
"extends": "@rushstack/heft-node-rig/profiles/default/config/typescript.json",

"emitMjsExtensionForESModule": true
}
1 change: 1 addition & 0 deletions libraries/rush-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"homepage": "https://rushjs.io",
"main": "lib/index.js",
"module": "lib/index.mjs",
"typings": "dist/rush-lib.d.ts",
"scripts": {
"build": "heft build --clean",
Expand Down

0 comments on commit 6c95b42

Please sign in to comment.