Skip to content

refactor: webpack no longer uses unplugin#870

Merged
timfish merged 3 commits intogetsentry:mainfrom
timfish:timfish/feat/webpack-no-unplugin
Feb 11, 2026
Merged

refactor: webpack no longer uses unplugin#870
timfish merged 3 commits intogetsentry:mainfrom
timfish:timfish/feat/webpack-no-unplugin

Conversation

@timfish
Copy link
Collaborator

@timfish timfish commented Feb 10, 2026

This PR converts the webpack plugin to be a pure webpack plugin without using unplugin.

@github-actions
Copy link

github-actions bot commented Feb 10, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Bug Fixes 🐛

  • (webpack) Deduplicate webpack deploys by chargome in #875

Internal Changes 🔧

  • Webpack no longer uses unplugin by timfish in #870
  • Migrate to oxfmt by timfish in #880
  • Build with Rolldown by timfish in #872
  • Remove unplugin by timfish in #876
  • Rollup/Vite no longer uses unplugin by timfish in #858
  • Esbuild no longer uses unplugin by timfish in #871
  • Webpack no longer uses unplugin by timfish in #870

🤖 This preview updates automatically when you update the PR.

@timfish timfish marked this pull request as ready for review February 10, 2026 15:58
@timfish timfish requested review from Lms24 and chargome February 10, 2026 15:58
@timfish timfish changed the title feat: webpack no longer use unplugin feat: webpack no longer uses unplugin Feb 10, 2026
Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

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

Generally LGTM, just left one question. Feel free to merge if I misunderstood this.

@timfish timfish merged commit 2edffa5 into getsentry:main Feb 11, 2026
25 of 26 checks passed
@timfish timfish deleted the timfish/feat/webpack-no-unplugin branch February 11, 2026 17:27
t3chguy added a commit to element-hq/element-web that referenced this pull request Feb 13, 2026
…lugins#870 is released

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
github-merge-queue bot pushed a commit to element-hq/element-web that referenced this pull request Feb 16, 2026
* Move declaration.d.ts to @types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Load customisations.json without `require`

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove webpack rule from when we were consuming shared-components ts vs js

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Avoid hardcoding paths to modules in webpack config

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Convert webpack config to typescript

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Stub js webpack/postcss plugins

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Patch broken rollup types until getsentry/sentry-javascript-bundler-plugins#870 is released

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Install @types/postcss-import

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix fdir relying on @types/picomatch

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update pnpm-lock.yaml

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@timfish timfish changed the title feat: webpack no longer uses unplugin refactor: webpack no longer uses unplugin Feb 19, 2026
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 24, 2026
| datasource | package             | from  | to    |
| ---------- | ------------------- | ----- | ----- |
| npm        | @sentry/vite-plugin | 4.9.1 | 5.0.0 |


## [v5.0.0](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/HEAD/CHANGELOG.md#500)

##### Breaking Changes 🛠

- Updating minimatch by [@isaacs](https://github.com/isaacs) in [#885](getsentry/sentry-javascript-bundler-plugins#885)
- Remove support for Node < v18 and webpack v4 by [@timfish](https://github.com/timfish) in [#886](getsentry/sentry-javascript-bundler-plugins#886)

##### Bug Fixes 🐛

- (webpack) Deduplicate webpack deploys by [@chargome](https://github.com/chargome) in [#875](getsentry/sentry-javascript-bundler-plugins#875)

##### Internal Changes 🔧

- Avoid direct usage of glob, extract into `globFiles` helper by [@andreiborza](https://github.com/andreiborza) in [#883](getsentry/sentry-javascript-bundler-plugins#883)
- Migrate to oxfmt by [@timfish](https://github.com/timfish) in [#880](getsentry/sentry-javascript-bundler-plugins#880)
- Build with Rolldown by [@timfish](https://github.com/timfish) in [#872](getsentry/sentry-javascript-bundler-plugins#872)
- Remove unplugin by [@timfish](https://github.com/timfish) in [#876](getsentry/sentry-javascript-bundler-plugins#876)
- Rollup/Vite no longer uses unplugin by [@timfish](https://github.com/timfish) in [#858](getsentry/sentry-javascript-bundler-plugins#858)
- Esbuild no longer uses unplugin by [@timfish](https://github.com/timfish) in [#871](getsentry/sentry-javascript-bundler-plugins#871)
- Webpack no longer uses unplugin by [@timfish](https://github.com/timfish) in [#870](getsentry/sentry-javascript-bundler-plugins#870)
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