@lwrjs/core 0.6.0-alpha.12 → 0.6.0-alpha.13

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.
@@ -223,7 +223,7 @@ function mergeLWCConfigs(config1, config2) {
223
223
  };
224
224
  }
225
225
  function mergeBundleConfig(jsonConfig, config) {
226
- const defaultExclusions = DEFAULT_BUNDLE_EXCLUSIONS;
226
+ const defaultExclusions = config?.bundleConfig?.UNSAFE_lwrDefaultExclude || jsonConfig?.bundleConfig?.UNSAFE_lwrDefaultExclude || DEFAULT_BUNDLE_EXCLUSIONS;
227
227
  const configExclusions = config?.bundleConfig?.exclude || jsonConfig?.bundleConfig?.exclude || [];
228
228
  return {
229
229
  ...jsonConfig?.bundleConfig,
@@ -208,7 +208,9 @@ function mergeLWCConfigs(config1, config2) {
208
208
  }
209
209
  // merge default bundle exclusions with any bundle exclusions specified in config
210
210
  function mergeBundleConfig(jsonConfig, config) {
211
- const defaultExclusions = DEFAULT_BUNDLE_EXCLUSIONS;
211
+ const defaultExclusions = config?.bundleConfig?.UNSAFE_lwrDefaultExclude ||
212
+ jsonConfig?.bundleConfig?.UNSAFE_lwrDefaultExclude ||
213
+ DEFAULT_BUNDLE_EXCLUSIONS;
212
214
  const configExclusions = config?.bundleConfig?.exclude || jsonConfig?.bundleConfig?.exclude || [];
213
215
  return {
214
216
  ...jsonConfig?.bundleConfig,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.6.0-alpha.12",
7
+ "version": "0.6.0-alpha.13",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -33,31 +33,31 @@
33
33
  "package.cjs"
34
34
  ],
35
35
  "dependencies": {
36
- "@lwrjs/app-service": "0.6.0-alpha.12",
37
- "@lwrjs/asset-registry": "0.6.0-alpha.12",
38
- "@lwrjs/asset-transformer": "0.6.0-alpha.12",
39
- "@lwrjs/base-template-engine": "0.6.0-alpha.12",
40
- "@lwrjs/base-view-provider": "0.6.0-alpha.12",
41
- "@lwrjs/base-view-transformer": "0.6.0-alpha.12",
42
- "@lwrjs/client-modules": "0.6.0-alpha.12",
43
- "@lwrjs/compiler": "0.6.0-alpha.12",
44
- "@lwrjs/diagnostics": "0.6.0-alpha.12",
45
- "@lwrjs/fs-asset-provider": "0.6.0-alpha.12",
46
- "@lwrjs/html-view-provider": "0.6.0-alpha.12",
47
- "@lwrjs/loader": "0.6.0-alpha.12",
48
- "@lwrjs/lwc-module-provider": "0.6.0-alpha.12",
49
- "@lwrjs/lwc-ssr": "0.6.0-alpha.12",
50
- "@lwrjs/markdown-view-provider": "0.6.0-alpha.12",
51
- "@lwrjs/module-bundler": "0.6.0-alpha.12",
52
- "@lwrjs/module-registry": "0.6.0-alpha.12",
53
- "@lwrjs/npm-module-provider": "0.6.0-alpha.12",
54
- "@lwrjs/nunjucks-view-provider": "0.6.0-alpha.12",
55
- "@lwrjs/o11y": "0.6.0-alpha.12",
56
- "@lwrjs/resource-registry": "0.6.0-alpha.12",
57
- "@lwrjs/router": "0.6.0-alpha.12",
58
- "@lwrjs/server": "0.6.0-alpha.12",
59
- "@lwrjs/shared-utils": "0.6.0-alpha.12",
60
- "@lwrjs/view-registry": "0.6.0-alpha.12",
36
+ "@lwrjs/app-service": "0.6.0-alpha.13",
37
+ "@lwrjs/asset-registry": "0.6.0-alpha.13",
38
+ "@lwrjs/asset-transformer": "0.6.0-alpha.13",
39
+ "@lwrjs/base-template-engine": "0.6.0-alpha.13",
40
+ "@lwrjs/base-view-provider": "0.6.0-alpha.13",
41
+ "@lwrjs/base-view-transformer": "0.6.0-alpha.13",
42
+ "@lwrjs/client-modules": "0.6.0-alpha.13",
43
+ "@lwrjs/compiler": "0.6.0-alpha.13",
44
+ "@lwrjs/diagnostics": "0.6.0-alpha.13",
45
+ "@lwrjs/fs-asset-provider": "0.6.0-alpha.13",
46
+ "@lwrjs/html-view-provider": "0.6.0-alpha.13",
47
+ "@lwrjs/loader": "0.6.0-alpha.13",
48
+ "@lwrjs/lwc-module-provider": "0.6.0-alpha.13",
49
+ "@lwrjs/lwc-ssr": "0.6.0-alpha.13",
50
+ "@lwrjs/markdown-view-provider": "0.6.0-alpha.13",
51
+ "@lwrjs/module-bundler": "0.6.0-alpha.13",
52
+ "@lwrjs/module-registry": "0.6.0-alpha.13",
53
+ "@lwrjs/npm-module-provider": "0.6.0-alpha.13",
54
+ "@lwrjs/nunjucks-view-provider": "0.6.0-alpha.13",
55
+ "@lwrjs/o11y": "0.6.0-alpha.13",
56
+ "@lwrjs/resource-registry": "0.6.0-alpha.13",
57
+ "@lwrjs/router": "0.6.0-alpha.13",
58
+ "@lwrjs/server": "0.6.0-alpha.13",
59
+ "@lwrjs/shared-utils": "0.6.0-alpha.13",
60
+ "@lwrjs/view-registry": "0.6.0-alpha.13",
61
61
  "dompurify": "^2.3.0",
62
62
  "fs-extra": "^10.0.0",
63
63
  "jsdom": "^16.7.0",
@@ -67,7 +67,7 @@
67
67
  "qs": "^6.9.4"
68
68
  },
69
69
  "devDependencies": {
70
- "@lwrjs/types": "0.6.0-alpha.12"
70
+ "@lwrjs/types": "0.6.0-alpha.13"
71
71
  },
72
72
  "peerDependencies": {
73
73
  "lwc": ">= 1.x <= 2.x"
@@ -75,5 +75,5 @@
75
75
  "engines": {
76
76
  "node": ">=14.15.4 <17"
77
77
  },
78
- "gitHead": "876b56ca4f98f3299303f2193c0dec8f46a69b84"
78
+ "gitHead": "056d10307fe29540d1586f8fd75e357b82ce2acc"
79
79
  }