@lwrjs/lwc-ssr 0.9.0-alpha.26 → 0.9.0-alpha.28
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.
|
@@ -42,7 +42,7 @@ function lwcSsrViewTranformer(options, {moduleBundler, resourceRegistry}) {
|
|
|
42
42
|
for (const {tagName, location, props} of customElements) {
|
|
43
43
|
if (location) {
|
|
44
44
|
const {startOffset, endOffset} = location;
|
|
45
|
-
const moduleSpecifier = (0, import_shared_utils.
|
|
45
|
+
const moduleSpecifier = (0, import_shared_utils.kebabCaseToModuleSpecifier)(tagName);
|
|
46
46
|
ssrModules.push({
|
|
47
47
|
startOffset,
|
|
48
48
|
endOffset,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { kebabCaseToModuleSpecifier, logger, shortestTtl } from '@lwrjs/shared-utils';
|
|
2
2
|
import { LWC_SSR_PREFIX, SSR_PROPS_ATTR, SSR_PROPS_KEY, getPropsId } from '../identity.js';
|
|
3
3
|
import { ssrElement } from './ssr-element.js';
|
|
4
4
|
/**
|
|
@@ -35,7 +35,7 @@ export default function lwcSsrViewTranformer(options, { moduleBundler, resourceR
|
|
|
35
35
|
for (const { tagName, location, props } of customElements) {
|
|
36
36
|
if (location) {
|
|
37
37
|
const { startOffset, endOffset } = location;
|
|
38
|
-
const moduleSpecifier =
|
|
38
|
+
const moduleSpecifier = kebabCaseToModuleSpecifier(tagName);
|
|
39
39
|
ssrModules.push({
|
|
40
40
|
startOffset,
|
|
41
41
|
endOffset,
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.9.0-alpha.
|
|
7
|
+
"version": "0.9.0-alpha.28",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@locker/near-membrane-node": "^0.12.0",
|
|
37
|
-
"@lwrjs/diagnostics": "0.9.0-alpha.
|
|
38
|
-
"@lwrjs/shared-utils": "0.9.0-alpha.
|
|
37
|
+
"@lwrjs/diagnostics": "0.9.0-alpha.28",
|
|
38
|
+
"@lwrjs/shared-utils": "0.9.0-alpha.28",
|
|
39
39
|
"node-fetch": "^2.6.8"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@lwrjs/types": "0.9.0-alpha.
|
|
42
|
+
"@lwrjs/types": "0.9.0-alpha.28"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=16.0.0 <20"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "da7d0c58d2e34958a289a18f43c5998e85e72986"
|
|
48
48
|
}
|