@lynx-js/runtime-wrapper-webpack-plugin-canary 0.2.0 → 0.2.1-canary-20260701-80aaf222
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @lynx-js/runtime-wrapper-webpack-plugin
|
|
2
2
|
|
|
3
|
+
## 0.2.1-canary-20260701083645-80aaf222e188035a5e5697c738916e154138a2f5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix(debug-metadata): register the background-thread release inside the bundle wrapper, keeping the legacy source-map release authoritative during the transition ([#2891](https://github.com/lynx-family/lynx-stack/pull/2891))
|
|
8
|
+
|
|
3
9
|
## 0.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -94,6 +94,12 @@ class RuntimeWrapperWebpackPluginImpl {
|
|
|
94
94
|
new BannerPlugin({
|
|
95
95
|
test: test,
|
|
96
96
|
raw: true,
|
|
97
|
+
// Wrap at PROCESS_ASSETS_STAGE_NONE (0), after the release BannerPlugins
|
|
98
|
+
// the legacy source-map plugin + debug-metadata, at/around ADDITIONS
|
|
99
|
+
// (-100) so the wrapper stays outermost and their `_SetSourceMapRelease`
|
|
100
|
+
// runtimes land INSIDE it, yet still before DEV_TOOLING so the source map
|
|
101
|
+
// accounts for it.
|
|
102
|
+
stage: compiler.webpack.Compilation.PROCESS_ASSETS_STAGE_NONE,
|
|
97
103
|
banner: ({ chunk, filename }) => {
|
|
98
104
|
const banner = this.#getBannerType(filename) === 'script'
|
|
99
105
|
? loadScriptBanner()
|
|
@@ -122,6 +128,7 @@ class RuntimeWrapperWebpackPluginImpl {
|
|
|
122
128
|
test: test,
|
|
123
129
|
footer: true,
|
|
124
130
|
raw: true,
|
|
131
|
+
stage: compiler.webpack.Compilation.PROCESS_ASSETS_STAGE_NONE,
|
|
125
132
|
banner: ({ filename }) => {
|
|
126
133
|
const footer = this.#getBannerType(filename) === 'script'
|
|
127
134
|
? loadScriptFooter
|
package/package.json
CHANGED