@lwrjs/client-modules 0.17.2-alpha.2 → 0.17.2-alpha.3

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.
@@ -27,7 +27,7 @@ function updateStaleModule({ oldModule, newModule, specifier }) {
27
27
  if (specifier.endsWith('html') && newModule.default) {
28
28
  console.log(`Swapping HTML template for module "${specifier}"`);
29
29
  swapTemplate(oldModule.default, newModule.default);
30
- } else if (specifier.endsWith('css') && newModule.default) {
30
+ } else if ((specifier.endsWith('css') || specifier.endsWith('.css?scoped=true')) && newModule.default) {
31
31
  console.log(`Swapping CSS for module "${specifier}"`);
32
32
  swapStyle(oldModule.default[0], newModule.default[0]);
33
33
  } else {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.17.2-alpha.2",
7
+ "version": "0.17.2-alpha.3",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@locker/sandbox": "0.23.6",
37
- "@lwrjs/shared-utils": "0.17.2-alpha.2"
37
+ "@lwrjs/shared-utils": "0.17.2-alpha.3"
38
38
  },
39
39
  "devDependencies": {
40
- "@lwrjs/types": "0.17.2-alpha.2",
40
+ "@lwrjs/types": "0.17.2-alpha.3",
41
41
  "@rollup/plugin-node-resolve": "^15.2.3",
42
42
  "@rollup/plugin-sucrase": "^5.0.2",
43
43
  "@rollup/plugin-terser": "^0.4.4",
@@ -70,5 +70,5 @@
70
70
  "volta": {
71
71
  "extends": "../../../package.json"
72
72
  },
73
- "gitHead": "739b237f5d7f2c1989142cb505a56cc763f21976"
73
+ "gitHead": "43757693dfca356cff105d4896a7a3cbf11ac017"
74
74
  }