@lwrjs/module-bundler 0.9.0-alpha.3 → 0.9.0-alpha.4
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/index.cjs +1 -2
- package/build/es/index.js +1 -2
- package/package.json +5 -5
package/build/cjs/index.cjs
CHANGED
|
@@ -62,7 +62,7 @@ var LwrModuleBundler = class {
|
|
|
62
62
|
return this.inflightBundleDefinitions.execute(cacheKey, () => {
|
|
63
63
|
return TASK_POOL.execute(async () => {
|
|
64
64
|
const pendingBundleDef = format === "amd" ? (0, import_amd_bundler.amdBundler)(moduleId, moduleRegistry, runtimeEnvironment, runtimeParams, this.config, bundleConfigOverrides) : (0, import_esm_bundler.esmBundler)(moduleId, moduleRegistry, runtimeEnvironment, runtimeParams, this.config, bundleConfigOverrides);
|
|
65
|
-
pendingBundleDef.then(async (bundleDef) => {
|
|
65
|
+
return pendingBundleDef.then(async (bundleDef) => {
|
|
66
66
|
const minified = !!minify && !debug;
|
|
67
67
|
if (minified) {
|
|
68
68
|
bundleDef.code = (await this.compiler.minifyJavascript(bundleDef.code)).code;
|
|
@@ -72,7 +72,6 @@ var LwrModuleBundler = class {
|
|
|
72
72
|
}
|
|
73
73
|
return bundleDef;
|
|
74
74
|
});
|
|
75
|
-
return pendingBundleDef;
|
|
76
75
|
}, this);
|
|
77
76
|
});
|
|
78
77
|
}
|
package/build/es/index.js
CHANGED
|
@@ -47,7 +47,7 @@ export class LwrModuleBundler {
|
|
|
47
47
|
const pendingBundleDef = format === 'amd'
|
|
48
48
|
? amdBundler(moduleId, moduleRegistry, runtimeEnvironment, runtimeParams, this.config, bundleConfigOverrides)
|
|
49
49
|
: esmBundler(moduleId, moduleRegistry, runtimeEnvironment, runtimeParams, this.config, bundleConfigOverrides);
|
|
50
|
-
pendingBundleDef.then(async (bundleDef) => {
|
|
50
|
+
return pendingBundleDef.then(async (bundleDef) => {
|
|
51
51
|
const minified = !!minify && !debug;
|
|
52
52
|
if (minified) {
|
|
53
53
|
bundleDef.code = (await this.compiler.minifyJavascript(bundleDef.code)).code;
|
|
@@ -57,7 +57,6 @@ export class LwrModuleBundler {
|
|
|
57
57
|
}
|
|
58
58
|
return bundleDef;
|
|
59
59
|
});
|
|
60
|
-
return pendingBundleDef;
|
|
61
60
|
}, this);
|
|
62
61
|
});
|
|
63
62
|
}
|
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.4",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"build/**/*.d.ts"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@lwrjs/compiler": "0.9.0-alpha.
|
|
34
|
-
"@lwrjs/shared-utils": "0.9.0-alpha.
|
|
33
|
+
"@lwrjs/compiler": "0.9.0-alpha.4",
|
|
34
|
+
"@lwrjs/shared-utils": "0.9.0-alpha.4",
|
|
35
35
|
"rollup": "~2.45.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@lwrjs/types": "0.9.0-alpha.
|
|
38
|
+
"@lwrjs/types": "0.9.0-alpha.4"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=14.15.4 <19"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cb4f98fad4279ac953edec73f3e28996e2523c67"
|
|
44
44
|
}
|