Skip to content

Commit 196ec59

Browse files
authored
build(bubblebench-sharedtree): use node16 module resolution (#20129)
Semi-automatic PR to switch to node16 module resolution
1 parent 0f632db commit 196ec59

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

examples/benchmarks/bubblebench/sharedtree/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111
},
1212
"license": "MIT",
1313
"author": "Microsoft and contributors",
14-
"main": "dist/index.js",
15-
"module": "lib/index.js",
16-
"types": "dist/index.d.ts",
14+
"type": "module",
1715
"scripts": {
1816
"build": "fluid-build . --task build",
1917
"build:compile": "fluid-build . --task compile",
20-
"build:esnext": "tsc --project ./tsconfig.esnext.json",
18+
"build:esnext": "tsc --project ./tsconfig.json",
2119
"check:biome": "biome check .",
2220
"check:prettier": "prettier --check . --cache --ignore-path ../../../../.prettierignore",
2321
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" nyc",
@@ -38,7 +36,6 @@
3836
"test": "npm run test:jest",
3937
"test:jest": "jest",
4038
"test:jest:verbose": "cross-env FLUID_TEST_VERBOSE=1 jest",
41-
"tsc": "tsc",
4239
"webpack": "webpack --env production",
4340
"webpack:dev": "webpack --env development"
4441
},

examples/benchmarks/bubblebench/sharedtree/tsconfig.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
{
2-
"extends": "@fluidframework/build-common/ts-common-config.json",
2+
"extends": "../../../../common/build/build-common/tsconfig.node16.json",
33
"exclude": ["dist", "node_modules"],
44
"compilerOptions": {
5-
"module": "esnext",
65
"lib": ["ESNext", "DOM"],
7-
"outDir": "dist",
8-
"jsx": "react",
6+
"outDir": "./lib",
97
"types": [
108
"react",
119
"react-dom",

0 commit comments

Comments
 (0)