@lwrjs/config 0.12.0-alpha.24 → 0.12.0-alpha.25
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/build/cjs/defaults.cjs +4 -4
- package/build/es/defaults.js +5 -5
- package/package.json +7 -7
package/build/cjs/defaults.cjs
CHANGED
|
@@ -112,12 +112,12 @@ var DEFAULT_ESM_BUNDLE_EXCLUSIONS = [
|
|
|
112
112
|
var DEFAULT_AMD_BUNDLE_EXCLUSIONS = ["lwc", "lwr/navigation"];
|
|
113
113
|
var DEFAULT_ESM_BUNDLE_EXTERNALS = {};
|
|
114
114
|
var DEFAULT_AMD_BUNDLE_EXTERNALS = {
|
|
115
|
-
"lwr/loader":
|
|
116
|
-
"lwr/profiler":
|
|
115
|
+
"lwr/loader": "",
|
|
116
|
+
"lwr/profiler": ""
|
|
117
117
|
};
|
|
118
118
|
var DEFAULT_AMD_LEGACY_BUNDLE_EXTERNALS = {
|
|
119
|
-
"lwr/loaderLegacy":
|
|
120
|
-
"lwr/profiler":
|
|
119
|
+
"lwr/loaderLegacy": "",
|
|
120
|
+
"lwr/profiler": ""
|
|
121
121
|
};
|
|
122
122
|
function getDefaultBundleConfig(mode) {
|
|
123
123
|
const format = (0, import_runtime_config.getServerModeConfig)(mode || MODE).format;
|
package/build/es/defaults.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_LWR_LOCKER_CONFIG,
|
|
1
|
+
import { DEFAULT_LWR_LOCKER_CONFIG, getFeatureFlags } from '@lwrjs/shared-utils';
|
|
2
2
|
import { lwrVersion } from '@lwrjs/config/package';
|
|
3
3
|
import { DEFAULT_I18N_CONFIG, getServerModeConfig } from './runtime-config.js';
|
|
4
4
|
const PORT = process.env.PORT ? parseInt(process.env.PORT, 10) : 3000;
|
|
@@ -73,12 +73,12 @@ export const DEFAULT_ESM_BUNDLE_EXCLUSIONS = [
|
|
|
73
73
|
export const DEFAULT_AMD_BUNDLE_EXCLUSIONS = ['lwc', 'lwr/navigation'];
|
|
74
74
|
const DEFAULT_ESM_BUNDLE_EXTERNALS = {};
|
|
75
75
|
const DEFAULT_AMD_BUNDLE_EXTERNALS = {
|
|
76
|
-
'lwr/loader':
|
|
77
|
-
'lwr/profiler':
|
|
76
|
+
'lwr/loader': '',
|
|
77
|
+
'lwr/profiler': '',
|
|
78
78
|
};
|
|
79
79
|
const DEFAULT_AMD_LEGACY_BUNDLE_EXTERNALS = {
|
|
80
|
-
'lwr/loaderLegacy':
|
|
81
|
-
'lwr/profiler':
|
|
80
|
+
'lwr/loaderLegacy': '',
|
|
81
|
+
'lwr/profiler': '',
|
|
82
82
|
};
|
|
83
83
|
export function getDefaultBundleConfig(mode) {
|
|
84
84
|
const format = getServerModeConfig(mode || MODE).format;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.12.0-alpha.
|
|
7
|
+
"version": "0.12.0-alpha.25",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"test": "jest"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@lwrjs/diagnostics": "0.12.0-alpha.
|
|
46
|
-
"@lwrjs/instrumentation": "0.12.0-alpha.
|
|
47
|
-
"@lwrjs/shared-utils": "0.12.0-alpha.
|
|
45
|
+
"@lwrjs/diagnostics": "0.12.0-alpha.25",
|
|
46
|
+
"@lwrjs/instrumentation": "0.12.0-alpha.25",
|
|
47
|
+
"@lwrjs/shared-utils": "0.12.0-alpha.25",
|
|
48
48
|
"fs-extra": "^11.2.0",
|
|
49
49
|
"jsonc-parser": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@lwrjs/types": "0.12.0-alpha.
|
|
52
|
+
"@lwrjs/types": "0.12.0-alpha.25",
|
|
53
53
|
"jest": "^26.6.3",
|
|
54
54
|
"ts-jest": "^26.5.6"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@lwc/engine-dom": ">= 2.x",
|
|
58
58
|
"@lwc/synthetic-shadow": ">= 2.x",
|
|
59
|
-
"@lwrjs/esbuild": "0.
|
|
59
|
+
"@lwrjs/esbuild": "0.12.0-alpha.24",
|
|
60
60
|
"lwc": ">= 2.x"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"volta": {
|
|
71
71
|
"extends": "../../../package.json"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "1a3059f11fa8f64401a2a99941174911f23b30a8"
|
|
74
74
|
}
|