Commit 105f25a
authored
feat: Add
Consolidate all bundler plugin code into a single new
`@sentry/bundler-plugins` package with subpath exports
(`/rollup`, `/webpack`, `/vite`, etc.). Code was moved using `git
mv` to preserve history.
The existing bundler-specific packages (`@sentry/rollup-plugin`,
etc.) become thin stubs that re-export from
`@sentry/bundler-plugins`. This makes it straightforward to:
- Add new bundler support (e.g. rolldown) without publishing a
new package
- Move all plugin code in the JS monorepo as a single dependency
rather than 6
- Keep bundler-specific packages at v5, avoiding unnecessary
major version bumps for users
Individual packages can eventually be deprecated but there's no
urgency — integration tests still target them and they remain
fully functional.@sentry/bundler-plugins core package (#938)1 parent c63ec4d commit 105f25a
95 files changed
Lines changed: 2047 additions & 1812 deletions
File tree
- packages
- babel-plugin-component-annotate
- src
- bundler-plugin-core
- src
- bundler-plugins
- src
- babel-plugin
- core
- sentry
- esbuild
- rollup
- vite
- webpack
- test
- babel-plugin
- __snapshots__
- core
- __snapshots__
- fixtures
- deeply-nested-package
- deeply/nested
- nested-error-package
- deeply/nested
- nested-package
- deeply/nested
- no-valid-package/deeply/nested
- resolve-source-maps
- adjacent-sourcemap
- separate-directory
- bundles
- sourcemaps
- sentry
- esbuild
- rollup
- __snapshots__
- vite
- webpack
- esbuild-plugin
- src
- integration-tests-next/fixtures
- esbuild
- rolldown
- rollup3
- rollup4
- vite4
- vite6
- vite7
- vite8
- webpack5
- rollup-plugin
- src
- vite-plugin
- src
- webpack-plugin
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 54 | | |
56 | | - | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | | - | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments