Skip to content

Commit

Permalink
Add missing support for subpaths (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
hl662 authored Jul 2, 2024
1 parent 97849cf commit 25a2827
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Add missing CJS and ESM support for subpath imports",
"packageName": "@itwin/electron-authorization",
"email": "50554904+hl662@users.noreply.github.com",
"dependentChangeType": "patch"
}
4 changes: 3 additions & 1 deletion packages/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
"exports": {
"./Main": {
"types": "./lib/cjs/ElectronMain.d.ts",
"import": "./lib/esm/ElectronMain.js",
"require": "./lib/cjs/ElectronMain.js"
},
"./Renderer": {
"types": "./lib/esm/ElectronRenderer.d.ts",
"import": "./lib/esm/ElectronRenderer.js"
"import": "./lib/esm/ElectronRenderer.js",
"require": "./lib/cjs/ElectronRenderer.js"
}
},
"scripts": {
Expand Down

0 comments on commit 25a2827

Please sign in to comment.