Skip to content

5.1.0

Choose a tag to compare

@jbroma jbroma released this 14 May 11:27
· 137 commits to main since this release
64b4d41

Highlights

✨ Read the New in Re.Pack 5.1 blog post for more details.

Minor Changes

  • #1078 5ac48cd Thanks @szymonrybczak! - Add hook system to ScriptManager for runtime manipulation of script loading process.

  • #1099 332f384 Thanks @jbroma! - Enable support for package imports by default when resolving modules

  • #1128 859c1d7 Thanks @jbroma! - Strip empty import statements that are a leftover from stripping flow type imports

  • #1136 55a56c3 Thanks @jbroma! - Support Module Federation preloadRemote through PrefetchPlugin.

  • #1140 2cedf58 Thanks @jbroma! - Enable persistent cache by default in start command

  • #1130 90be891 Thanks @jbroma! - MF2 ResolverPlugin now adds a resolver only once when new remote is registered through registerRemote federation runtime hook

  • #1073 84952ac Thanks @jbroma! - Add support for setting up proxy in DevServer for redirecting requests

  • #1099 332f384 Thanks @jbroma! - Resolve platform (.ios, .android) & native (.native) extensions when using package exports

  • #1099 332f384 Thanks @jbroma! - Use import / require condition name depending on the source type (esm or cjs)

  • #1140 2cedf58 Thanks @jbroma! - Support resetting transformation cache via --reset-cache flag

  • #1150 350bb44 Thanks @jbroma! - Support RSPACK_PROFILE env var for obtaining traces from Rspack

Patch Changes

  • #1139 be32944 Thanks @jbroma! - Fix issue where errors originating in project config files were getting swallowed when the project config was loaded.

  • #1119 19c814f Thanks @jbroma! - Check for default import when using deep imports from react-native in WebpackHMRClient, DevServerClient and when using remote or inline assets

  • #1066 1bc0e4d Thanks @szymonrybczak! - Add detecting dependency specific plugins

  • #1134 acd69db Thanks @jbroma! - Always include AssetRegistry and AssetSourceResolver in the bundle

  • #1143 81ee94c Thanks @jbroma! - Fix failure to read project package json when validating plugins

  • #1123 bd58562 Thanks @jbroma! - Allow passing referenceUrl to ScriptManager.prefetchScript

  • #1151 3748b41 Thanks @jbroma! - Hide persistent cache behind REPACK_EXPERIMENTAL_CACHE flag