Skip to content

feat: add defaults for config.output and config.optimization#981

Merged
jbroma merged 9 commits intomainfrom
feat/more-defaults
Feb 13, 2025
Merged

feat: add defaults for config.output and config.optimization#981
jbroma merged 9 commits intomainfrom
feat/more-defaults

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Feb 13, 2025

Summary

  • - added defaults for config.output
  • - added defaults for config.optimization
  • - added normalization of output path in order to resolve [platform] & [context] placeholders (useful in static configs when there is no access to platform variable)
  • - removed default configuration from configs & templates

Test plan

  • - tests pass
  • - testers work

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 13, 2025

🦋 Changeset detected

Latest commit: 9d7530e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@callstack/repack Major
@callstack/repack-plugin-expo-modules Major
@callstack/repack-plugin-nativewind Major
@callstack/repack-plugin-reanimated Major
@callstack/repack-dev-server Major
@callstack/repack-init Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
repack-website ⬜️ Ignored (Inspect) Visit Preview Feb 13, 2025 1:48pm

@jbroma
Copy link
Copy Markdown
Contributor Author

jbroma commented Feb 13, 2025

Added two changesets since it wouldn't make much sense in the release notes otherwise

Copy link
Copy Markdown
Contributor

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!! 🔥

@jbroma jbroma merged commit 05183a8 into main Feb 13, 2025
@jbroma jbroma deleted the feat/more-defaults branch February 13, 2025 15:46
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