Skip to content

Add missing sideEffects entry - #77

Merged
Pavel Glac (pavelglac) merged 2 commits into
microsoft:masterfrom
ecraig12345:sideEffects
Nov 11, 2025
Merged

Add missing sideEffects entry#77
Pavel Glac (pavelglac) merged 2 commits into
microsoft:masterfrom
ecraig12345:sideEffects

Conversation

@ecraig12345

Copy link
Copy Markdown
Member

This PR adds a package.json sideEffects entry for the transpiled file ./dist/src/Promise.extensions.js.

Without that setting, certain bundlers that strictly respect the given sideEffects would drop require('./Promise.extensions') from the bundled output, leading to runtime failures.

@ecraig12345

Copy link
Copy Markdown
Member Author

Pavel Glac (@pavelglac) Could you please take a look at this change? Also the build is currently failing due to formatting issues in master (.config/1espt/PipelineAutobaseliningConfig.yml).

@pavelglac

Copy link
Copy Markdown
Contributor

oh yeah, could you Elizabeth Craig (@ecraig12345) add /.config to the .prettierignore? Also you need to bump the version in package.json in order to release new version.

@ecraig12345

Copy link
Copy Markdown
Member Author

Pavel Glac (@pavelglac) You'll have to merge this since I don't have write permission in this repo

@pavelglac
Pavel Glac (pavelglac) merged commit 78e1885 into microsoft:master Nov 11, 2025
2 checks passed
@pavelglac

Copy link
Copy Markdown
Contributor

Elizabeth Craig (@ecraig12345) merged and released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants