vite-bundled-i18n 0.7.1 → 0.7.2
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/README.md +1 -1
- package/dist/{build-stamp-B_KEcGJr.js → build-stamp-BvP03CCo.js} +2 -2
- package/dist/{build-stamp-B_KEcGJr.js.map → build-stamp-BvP03CCo.js.map} +1 -1
- package/dist/cli/index.js +3 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/core/services/bundle-loader.d.ts +3 -0
- package/dist/core/types.d.ts +6 -0
- package/dist/{data-vkbfw7aF.js → data-MH8nzEsb.js} +7 -4
- package/dist/data-MH8nzEsb.js.map +1 -0
- package/dist/eslint.js +1 -1
- package/dist/index.js +2 -2
- package/dist/plugin.js +4 -1
- package/dist/plugin.js.map +1 -1
- package/dist/react.js +5 -0
- package/dist/react.js.map +1 -1
- package/dist/{server-G_8ejElv.js → server-B6C5KwkP.js} +2 -2
- package/dist/{server-G_8ejElv.js.map → server-B6C5KwkP.js.map} +1 -1
- package/dist/server.js +2 -2
- package/dist/testing.js +1 -1
- package/dist/vanilla.js +2 -2
- package/dist/vue.js +4 -1
- package/dist/vue.js.map +1 -1
- package/package.json +1 -1
- package/dist/data-vkbfw7aF.js.map +0 -1
package/README.md
CHANGED
|
@@ -236,7 +236,7 @@ async function resolvePage(
|
|
|
236
236
|
}
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
Calling `loadScope` is safe from concurrent paths. The runtime deduplicates by `(locale, scope)` — 100 parallel calls fire exactly one fetch
|
|
239
|
+
Calling `loadScope` is safe from concurrent paths. The runtime deduplicates by `(locale, scope)` — 100 parallel calls fire exactly one fetch and share the same promise. On fetch failure, that promise rejects and the in-flight entry clears, so a retry starts fresh. Side effects (cache writes, devbar state, dependent scope flags) run once per logical load, not once per caller.
|
|
240
240
|
|
|
241
241
|
**Page identifiers.** The default strips `src/pages/` and common `.tsx` / `.page.tsx` suffixes:
|
|
242
242
|
|
|
@@ -1588,7 +1588,7 @@ function resolveCacheConfig(input, context) {
|
|
|
1588
1588
|
* back to a development placeholder during tests and direct imports before
|
|
1589
1589
|
* the build step runs.
|
|
1590
1590
|
*/
|
|
1591
|
-
var PLUGIN_VERSION = "0.7.
|
|
1591
|
+
var PLUGIN_VERSION = "0.7.2";
|
|
1592
1592
|
//#endregion
|
|
1593
1593
|
//#region src/extractor/scope-map.ts
|
|
1594
1594
|
var COMPOSITE_PAGE_SUFFIXES = [
|
|
@@ -2269,4 +2269,4 @@ function formatDuration(ms) {
|
|
|
2269
2269
|
//#endregion
|
|
2270
2270
|
export { keyMatchesPattern as A, writeRuntimeConst as C, pruneNamespace as D, generateBundles as E, resolveDictionaryOwnership as M, buildScopePlans as O, runtimePathFromTypesPath as S, flattenKeys as T, extractKeys as _, runStrictExtraction as a, generateReports as b, applyDynamicKeys as c, resolveCacheConfig as d, CACHE_FILE_NAME as f, walkAll as g, resolveImport as h, assertNoStrictExtractionErrors as i, normalizeDictionaries as j, inferScopeNamespace as k, buildScopeMap as l, createExtractionCache as m, detectStaleness as n, writeStrictExtractionReport as o, computeConfigHash as p, writeBuildStamp as r, compileAll as s, computeAnalysisFingerprint as t, PLUGIN_VERSION as u, flattenLocaleKeys as v, writeTypes as w, generateTypes as x, generateDictionaryOwnershipReport as y };
|
|
2271
2271
|
|
|
2272
|
-
//# sourceMappingURL=build-stamp-
|
|
2272
|
+
//# sourceMappingURL=build-stamp-BvP03CCo.js.map
|