Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pi0
Copy link
Member

@pi0 pi0 commented Dec 27, 2024

@rollup/plugin-node-resolve v16 enforces conditions to have at least production or development. Default is infered from NODE_ENV and if (is set and) it is not === "production" (which in many scripts is not) will become development. (more info: rollup/plugins#1823)

this PR updates plugin + uses ["production"] as the condition by default to ensure prod optimized builds (overridable by users still)

@pi0 pi0 merged commit 9dd09ee into main Dec 27, 2024
2 checks passed
@pi0 pi0 deleted the feat/resolve-prod branch December 27, 2024 23:36
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