@lwrjs/core 0.11.0-alpha.12 → 0.11.0-alpha.14
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.
|
@@ -188,11 +188,13 @@ var SiteGenerator = class {
|
|
|
188
188
|
const locale = siteConfig.locale;
|
|
189
189
|
const specifier = siteConfig.i18n.defaultLocale === locale ? bundleDefinition.specifier : `${bundleDefinition.specifier}|l/${locale}`;
|
|
190
190
|
const imports = bundleDefinition.bundleRecord.imports?.map((moduleRef) => (0, import_shared_utils.getSpecifier)(moduleRef)) || [];
|
|
191
|
+
const dynamicImports = bundleDefinition.bundleRecord.dynamicImports?.map((moduleRef) => (0, import_shared_utils.getSpecifier)(moduleRef));
|
|
191
192
|
const bundleMetadata = {
|
|
192
193
|
version: bundleDefinition.version,
|
|
193
194
|
path: decodeURIComponent(url),
|
|
194
195
|
includedModules: bundleDefinition.bundleRecord.includedModules || [],
|
|
195
|
-
imports
|
|
196
|
+
imports,
|
|
197
|
+
dynamicImports
|
|
196
198
|
};
|
|
197
199
|
const siteBundles = siteConfig.siteMetadata.getSiteBundles().bundles;
|
|
198
200
|
siteBundles[specifier] = bundleMetadata;
|
|
@@ -251,11 +251,13 @@ export default class SiteGenerator {
|
|
|
251
251
|
? bundleDefinition.specifier
|
|
252
252
|
: `${bundleDefinition.specifier}|l/${locale}`;
|
|
253
253
|
const imports = bundleDefinition.bundleRecord.imports?.map((moduleRef) => getSpecifier(moduleRef)) || [];
|
|
254
|
+
const dynamicImports = bundleDefinition.bundleRecord.dynamicImports?.map((moduleRef) => getSpecifier(moduleRef));
|
|
254
255
|
const bundleMetadata = {
|
|
255
256
|
version: bundleDefinition.version,
|
|
256
257
|
path: decodeURIComponent(url),
|
|
257
258
|
includedModules: bundleDefinition.bundleRecord.includedModules || [],
|
|
258
259
|
imports,
|
|
260
|
+
dynamicImports,
|
|
259
261
|
};
|
|
260
262
|
const siteBundles = siteConfig.siteMetadata.getSiteBundles().bundles;
|
|
261
263
|
siteBundles[specifier] = bundleMetadata;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.0-alpha.
|
|
7
|
+
"version": "0.11.0-alpha.14",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -39,33 +39,33 @@
|
|
|
39
39
|
"build": "tsc -b"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@lwrjs/app-service": "0.11.0-alpha.
|
|
43
|
-
"@lwrjs/asset-registry": "0.11.0-alpha.
|
|
44
|
-
"@lwrjs/asset-transformer": "0.11.0-alpha.
|
|
45
|
-
"@lwrjs/base-view-provider": "0.11.0-alpha.
|
|
46
|
-
"@lwrjs/base-view-transformer": "0.11.0-alpha.
|
|
47
|
-
"@lwrjs/client-modules": "0.11.0-alpha.
|
|
48
|
-
"@lwrjs/config": "0.11.0-alpha.
|
|
49
|
-
"@lwrjs/diagnostics": "0.11.0-alpha.
|
|
50
|
-
"@lwrjs/esbuild": "0.11.0-alpha.
|
|
51
|
-
"@lwrjs/fs-asset-provider": "0.11.0-alpha.
|
|
52
|
-
"@lwrjs/fs-watch": "0.11.0-alpha.
|
|
53
|
-
"@lwrjs/html-view-provider": "0.11.0-alpha.
|
|
54
|
-
"@lwrjs/instrumentation": "0.11.0-alpha.
|
|
55
|
-
"@lwrjs/loader": "0.11.0-alpha.
|
|
56
|
-
"@lwrjs/lwc-module-provider": "0.11.0-alpha.
|
|
57
|
-
"@lwrjs/markdown-view-provider": "0.11.0-alpha.
|
|
58
|
-
"@lwrjs/module-bundler": "0.11.0-alpha.
|
|
59
|
-
"@lwrjs/module-registry": "0.11.0-alpha.
|
|
60
|
-
"@lwrjs/npm-module-provider": "0.11.0-alpha.
|
|
61
|
-
"@lwrjs/nunjucks-view-provider": "0.11.0-alpha.
|
|
62
|
-
"@lwrjs/o11y": "0.11.0-alpha.
|
|
63
|
-
"@lwrjs/resource-registry": "0.11.0-alpha.
|
|
64
|
-
"@lwrjs/router": "0.11.0-alpha.
|
|
65
|
-
"@lwrjs/server": "0.11.0-alpha.
|
|
66
|
-
"@lwrjs/shared-utils": "0.11.0-alpha.
|
|
67
|
-
"@lwrjs/static": "0.11.0-alpha.
|
|
68
|
-
"@lwrjs/view-registry": "0.11.0-alpha.
|
|
42
|
+
"@lwrjs/app-service": "0.11.0-alpha.14",
|
|
43
|
+
"@lwrjs/asset-registry": "0.11.0-alpha.14",
|
|
44
|
+
"@lwrjs/asset-transformer": "0.11.0-alpha.14",
|
|
45
|
+
"@lwrjs/base-view-provider": "0.11.0-alpha.14",
|
|
46
|
+
"@lwrjs/base-view-transformer": "0.11.0-alpha.14",
|
|
47
|
+
"@lwrjs/client-modules": "0.11.0-alpha.14",
|
|
48
|
+
"@lwrjs/config": "0.11.0-alpha.14",
|
|
49
|
+
"@lwrjs/diagnostics": "0.11.0-alpha.14",
|
|
50
|
+
"@lwrjs/esbuild": "0.11.0-alpha.14",
|
|
51
|
+
"@lwrjs/fs-asset-provider": "0.11.0-alpha.14",
|
|
52
|
+
"@lwrjs/fs-watch": "0.11.0-alpha.14",
|
|
53
|
+
"@lwrjs/html-view-provider": "0.11.0-alpha.14",
|
|
54
|
+
"@lwrjs/instrumentation": "0.11.0-alpha.14",
|
|
55
|
+
"@lwrjs/loader": "0.11.0-alpha.14",
|
|
56
|
+
"@lwrjs/lwc-module-provider": "0.11.0-alpha.14",
|
|
57
|
+
"@lwrjs/markdown-view-provider": "0.11.0-alpha.14",
|
|
58
|
+
"@lwrjs/module-bundler": "0.11.0-alpha.14",
|
|
59
|
+
"@lwrjs/module-registry": "0.11.0-alpha.14",
|
|
60
|
+
"@lwrjs/npm-module-provider": "0.11.0-alpha.14",
|
|
61
|
+
"@lwrjs/nunjucks-view-provider": "0.11.0-alpha.14",
|
|
62
|
+
"@lwrjs/o11y": "0.11.0-alpha.14",
|
|
63
|
+
"@lwrjs/resource-registry": "0.11.0-alpha.14",
|
|
64
|
+
"@lwrjs/router": "0.11.0-alpha.14",
|
|
65
|
+
"@lwrjs/server": "0.11.0-alpha.14",
|
|
66
|
+
"@lwrjs/shared-utils": "0.11.0-alpha.14",
|
|
67
|
+
"@lwrjs/static": "0.11.0-alpha.14",
|
|
68
|
+
"@lwrjs/view-registry": "0.11.0-alpha.14",
|
|
69
69
|
"chokidar": "^3.5.3",
|
|
70
70
|
"esbuild": "^0.9.7",
|
|
71
71
|
"fs-extra": "^11.1.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"ws": "^8.8.1"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@lwrjs/types": "0.11.0-alpha.
|
|
78
|
+
"@lwrjs/types": "0.11.0-alpha.14",
|
|
79
79
|
"@types/ws": "^8.5.3"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"volta": {
|
|
88
88
|
"extends": "../../../package.json"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "d082cc49d9e2b5024d17a3da2c5c2bf585f811fe"
|
|
91
91
|
}
|