npm @rspack/core 2.0.0-beta.7
v2.0.0-beta.7

3 hours ago

What's Changed

Breaking Changes 🛠

  • feat!: default resolve roots to empty array by @stormslowly in #13273
  • feat!: remove .wasm from default js extensions by @hardfist in #13321
  • feat!: remove 'webpack' from default CSS import conditions by @chenjiahan in #13348
  • fix!: remove unconsumed useless optimization.removeAvailableModules config option by @JSerFeng in #13317
  • feat(swc-loader)!: move rspackExperiments.import to top-level transformImport by @JSerFeng in #13345

Performance Improvements ⚡

New Features 🎉

Bug Fixes 🐞

  • fix: restore panic backtrace for macOS arm64 bindings by @hardfist in #13283
  • fix(collections): use FxHasher for Ukey by @hardfist in #13293
  • fix(esm-lib): tree-shake unused exports, fix property_access name collision and get_binding panic by @JSerFeng in #13288
  • fix: cjs tree shaking used with named export by @ahabhgk in #13303
  • fix: huge file dependencies cause range error by @SyMind in #13305
  • fix: dynamic import tree shaking used with named export by @ahabhgk in #13307
  • fix: correct dev server types by @chenjiahan in #13313
  • fix(rstest): prevent the re-exports optimization for mocked modules by @9aoy in #13262
  • fix(esm-lib): render init fragments after import source by @JSerFeng in #13308
  • fix: normal runtime use should not contains require function by @JSerFeng in #13190
  • fix: strict this context for dynamic import and cjs require by @ahabhgk in #13328
  • fix(javascript): preserve live code after labeled breaks by @LingyuCoder in #13325
  • fix: WorkerPlugin should be inherented in children compiler by @stormslowly in #13310
  • fix(parser): avoid treating require.resolve chains as require by @Timeless0911 in #13341

Refactor 🔨

Document Updates 📖

Other Changes

Full Changelog: v2.0.0-beta.6...v2.0.0-beta.7

Don't miss a new core release

NewReleases is sending notifications on new releases.