@lynx-js/react 0.114.5 → 0.115.1
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 +52 -0
- package/package.json +1 -1
- package/refresh/.turbo/turbo-build.log +1 -1
- package/runtime/lazy/internal.js +9 -0
- package/runtime/lazy/legacy-react-runtime.js +2 -0
- package/runtime/lib/backgroundSnapshot.js +10 -1
- package/runtime/lib/backgroundSnapshot.js.map +1 -1
- package/runtime/lib/index.d.ts +1 -2
- package/runtime/lib/index.js +1 -6
- package/runtime/lib/index.js.map +1 -1
- package/runtime/lib/internal.d.ts +2 -2
- package/runtime/lib/internal.js +2 -2
- package/runtime/lib/internal.js.map +1 -1
- package/runtime/lib/legacy-react-runtime/index.d.ts +3 -1
- package/runtime/lib/legacy-react-runtime/index.js +1 -1
- package/runtime/lib/legacy-react-runtime/index.js.map +1 -1
- package/runtime/lib/lifecycle/patch/snapshotPatch.js +1 -5
- package/runtime/lib/lifecycle/patch/snapshotPatch.js.map +1 -1
- package/runtime/lib/lifecycle/patch/snapshotPatchApply.js +5 -13
- package/runtime/lib/lifecycle/patch/snapshotPatchApply.js.map +1 -1
- package/runtime/lib/snapshot.d.ts +2 -1
- package/runtime/lib/snapshot.js +35 -20
- package/runtime/lib/snapshot.js.map +1 -1
- package/testing-library/dist/pure.js +168 -168
- package/testing-library/dist/vitest.config.js +5 -0
- package/transform/dist/wasm.cjs +1 -1
- package/transform/index.d.ts +2 -0
|
@@ -192,6 +192,11 @@ const createVitestConfig = async (options)=>{
|
|
|
192
192
|
target: 'MIXED'
|
|
193
193
|
},
|
|
194
194
|
engineVersion: options?.engineVersion ?? '',
|
|
195
|
+
dynamicImport: {
|
|
196
|
+
injectLazyBundle: false,
|
|
197
|
+
layer: 'test',
|
|
198
|
+
runtimePkg: `${runtimePkgName}/internal`
|
|
199
|
+
},
|
|
195
200
|
directiveDCE: false,
|
|
196
201
|
defineDCE: false,
|
|
197
202
|
shake: false,
|