Conversation
garronej
commented
Sep 4, 2022
Comment on lines
+12
to
+27
| "exports": { | ||
| ".": { | ||
| "import": "./dist/esm/index.js" | ||
| }, | ||
| "./mui": { | ||
| "import": "./dist/esm/mui.js" | ||
| }, | ||
| "./nextJs": { | ||
| "import": "./dist/esm/nextJs.js" | ||
| }, | ||
| "./compat": { | ||
| "import": "./dist/esm/compat.js" | ||
| }, | ||
| "./mui_compat": { | ||
| "import": "./dist/esm/mui_compat.js" | ||
| } |
Owner
Author
There was a problem hiding this comment.
I ended up removing "require" as I don't see the point of keeping them. Agree @jiby-aurum ?
Collaborator
There was a problem hiding this comment.
@garronej unfortunately I think its required, I tried it 4.1.0 and it fails to import tss-react/mui complaining that it is not defined in exports, adding the "require" back fixes them.
Owner
Author
There was a problem hiding this comment.
@jiby-aurum Thank you for the feedback, I added it back in.
It's in 4.1.1
Collaborator
There was a problem hiding this comment.
thanks again @garronej just tested, works perfectly !
gb-jos
reviewed
Sep 7, 2022
| @@ -1,9 +1,9 @@ | |||
| { | |||
| "compilerOptions": { | |||
| "module": "CommonJS", | |||
Owner
Author
There was a problem hiding this comment.
Yes, my bad.
The default config is for CommonJS and we overwrite some values when building for ESM....
gastonfournier
referenced
this pull request
in Unleash/unleash
Feb 15, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tss-react](https://www.tss-react.dev) ([source](https://togithub.com/garronej/tss-react)) | [`4.0.0` -> `4.6.0`](https://renovatebot.com/diffs/npm/tss-react/4.0.0/4.6.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>garronej/tss-react</summary> ### [`v4.6.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.6.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.5.2...v4.6.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.5.2...v4.6.0 ### [`v4.5.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.5.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.5.1...v4.5.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.5.1...v4.5.2 ### [`v4.5.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.5.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.5.0...v4.5.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.5.0...v4.5.1 ### [`v4.5.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.5.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.5...v4.5.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.5...v4.5.0 ### [`v4.4.5`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.5) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.4...v4.4.5) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.4...v4.4.5 ### [`v4.4.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.4) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.3...v4.4.4) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.3...v4.4.4 ### [`v4.4.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.3) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.2...v4.4.3) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.2...v4.4.3 ### [`v4.4.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.1...v4.4.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.1...v4.4.2 ### [`v4.4.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.0...v4.4.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.4...v4.4.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.4...v4.4.0 ### [`v4.3.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.4) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.3...v4.3.4) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.3...v4.3.4 ### [`v4.3.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.3) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.2...v4.3.3) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.2...v4.3.3 ### [`v4.3.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.1...v4.3.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.1...v4.3.2 ### [`v4.3.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.0...v4.3.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.0...v4.3.1 ### [`v4.3.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.2.0...v4.3.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.2.0...v4.3.0 ### [`v4.2.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.2.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.4...v4.2.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.4...v4.2.0 ### [`v4.1.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.4) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.3...v4.1.4) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.3...v4.1.4 ### [`v4.1.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.3) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.2...v4.1.3) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.2...v4.1.3 ### [`v4.1.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.1...v4.1.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> #### What's Changed ##### Other Changes - fix [#​107](https://togithub.com/garronej/tss-react/issues/107) by [@​jiby-aurum](https://togithub.com/jiby-aurum) in [https://github.com/garronej/tss-react/pull/109](https://togithub.com/garronej/tss-react/pull/109) #### New Contributors - [@​jiby-aurum](https://togithub.com/jiby-aurum) made their first contribution in [https://github.com/garronej/tss-react/pull/109](https://togithub.com/garronej/tss-react/pull/109) **Full Changelog**: garronej/tss-react@v4.1.1...v4.1.2 ### [`v4.1.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.0...v4.1.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.0...v4.1.1 ### [`v4.1.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.0.0...v4.1.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> #### What's Changed ##### Other Changes - v4.1.0-beta by [@​garronej](https://togithub.com/garronej) in [https://github.com/garronej/tss-react/pull/106](https://togithub.com/garronej/tss-react/pull/106) **Full Changelog**: garronej/tss-react@v4.0.0...v4.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTI0LjIifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Try out #105