Skip to content

Commit fa2edd6

Browse files
authored
Merge pull request #9105 from wallw-bits/fix-package-resolve-error
Add package.json to exports so it can be resolved
2 parents 853ed28 + 148484c commit fa2edd6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGES.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
- Fixed several artifcats on mobile devices caused by using insufficient precision. [#9064](https://github.com/CesiumGS/cesium/pull/9064)
1212
- Fixed handling of `data:` scheme for the Cesium ion logo URL. [#9085](https://github.com/CesiumGS/cesium/pull/9085)
1313
- Fixed an issue where the boundary rectangles in `TileAvailability` are not sorted correctly, causing terrain to sometimes fail to achieve its maximum detail. [#9098](https://github.com/CesiumGS/cesium/pull/9098)
14-
- Fixed an issue where a request for an availability tile of the reference layer is delayed because the throttle option is on. [##9099](https://github.com/CesiumGS/cesium/pull/9099)
14+
- Fixed an issue where a request for an availability tile of the reference layer is delayed because the throttle option is on. [#9099](https://github.com/CesiumGS/cesium/pull/9099)
15+
- Fixed an issue where Node.js tooling could not resolve package.json. [#9105](https://github.com/CesiumGS/cesium/pull/9105)
1516

1617
### 1.72 - 2020-08-03
1718

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@
3333
"module": "./Source/Cesium.js",
3434
"types": "./Source/Cesium.d.ts",
3535
"exports": {
36-
"require": "./index.cjs",
37-
"import": "./Source/Cesium.js"
36+
"./package.json": "./package.json",
37+
".": {
38+
"require": "./index.cjs",
39+
"import": "./Source/Cesium.js"
40+
}
3841
},
3942
"type": "module",
4043
"devDependencies": {

0 commit comments

Comments
 (0)