Skip to content

chore(deps): update rspack monorepo to v2 (main) - #590

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-major-rspack-monorepo
Open

chore(deps): update rspack monorepo to v2 (main)#590
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/main-major-rspack-monorepo

Conversation

@renovate

@renovate renovate Bot commented May 18, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@rspack/cli (source) ^1.2.7^2.0.0 age confidence
@rspack/core (source) ^1.2.7^2.0.0 age confidence

Release Notes

web-infra-dev/rspack (@​rspack/cli)

v2.1.7

Compare Source

Notice: The import.meta.env experimental feature introduced in Rspack 2.1.6 has been removed in Rspack 2.1.7.

What's Changed

Performance 🚀
Bug Fixes 🐞
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.6...v2.1.7

v2.1.6

Compare Source

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.5...v2.1.6

v2.1.5

Compare Source

What's Changed

Bug Fixes 🐞
Refactor 🔨
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.4...v2.1.5

v2.1.4

Compare Source

Highlights

Fine-grained import.meta parser options

module.parser.javascript.importMeta now accepts an object so each known import.meta property can be configured independently, on top of the existing true / false / 'preserve-unknown' values. Properties set to false are preserved for runtime evaluation, omitted properties keep their default behavior, and unknown properties are preserved. Both webpack-compatible keys (dirname, filename, main, url, webpack, webpackContext) and Rspack-specific keys (rspackHash, rspackPublicPath, glob, ...) are supported.

export default {
  module: {
    parser: {
      javascript: {
        importMeta: {
          // keep `import.meta.url` for runtime evaluation
          url: false,
          // keep the compile-time replacement of `import.meta.webpack`
          webpack: true,
        },
      },
    },
  },
};
Static worker URL output

module.parser.javascript.worker now accepts an object form with alias and url, alongside the existing boolean and string[] forms. With url: 'new-url-relative' and output.module enabled, Rspack emits a static new URL() expression for new Worker(new URL(..., import.meta.url)) instead of runtime code, honoring output.publicPath and output.workerPublicPath.

export default {
  output: {
    module: true,
    chunkFilename: '[name].bundle.js',
  },
  module: {
    parser: {
      javascript: {
        worker: {
          url: 'new-url-relative',
        },
      },
    },
  },
};
new Worker(new URL('./worker.js', import.meta.url));

// would become 👇
new Worker(new URL('./worker.bundle.js', import.meta.url));

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.3...v2.1.4

v2.1.3

Compare Source

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.2...v2.1.3

v2.1.2

Compare Source

What's Changed

Highlights 💡

Support import.meta style module variables

Rspack now exposes more module variables through import.meta, which aligns better with the ESM specification than CommonJS-style injected globals. When authoring ESM modules, import.meta is now the recommended way to access these runtime values.

The newly supported import.meta properties are:

New import.meta API Existing runtime variable
import.meta.rspackPublicPath __webpack_public_path__
import.meta.rspackBaseUri __webpack_base_uri__
import.meta.rspackShareScopes __webpack_share_scopes__
import.meta.rspackInitSharing __webpack_init_sharing__
import.meta.rspackNonce __webpack_nonce__
import.meta.rspackUniqueId __rspack_unique_id__
import.meta.rspackVersion __rspack_version__
import.meta.rspackHash __webpack_hash__
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rspack@v2.1.1...v2.1.2

v2.1.1

Compare Source

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspack@v2.1.0...v2.1.1

v2.1.0

Compare Source

What's Changed

🎉 See Announcing Rspack 2.1 for more details.

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@pkg-pr-new

pkg-pr-new Bot commented May 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@intlify/bundle-utils@590
npm i https://pkg.pr.new/@intlify/unplugin-vue-i18n@590

commit: 096989d

@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from e9101ed to 8fb4b15 Compare May 20, 2026 16:07
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from ab16992 to cf20c0b Compare June 1, 2026 18:53
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from cf20c0b to da8c29b Compare June 10, 2026 15:41
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from 92c948d to 28fb3a2 Compare June 30, 2026 11:01
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch 2 times, most recently from 7b2a494 to 3ec561c Compare July 12, 2026 11:36
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from 3ec561c to c90cdad Compare July 16, 2026 17:53
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from c90cdad to 7d8f78e Compare July 24, 2026 18:13
@renovate
renovate Bot force-pushed the renovate/main-major-rspack-monorepo branch from 7d8f78e to 096989d Compare July 30, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants