@lwrjs/static 0.13.0-alpha.17 → 0.13.0-alpha.18
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.
|
@@ -118,7 +118,7 @@ var StaticBundleProvider = class {
|
|
|
118
118
|
}
|
|
119
119
|
bundleSourcePath = import_path.default.join(this.siteRootDir, metadata.path);
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return await import_fs_extra.default.readFile(bundleSourcePath, "utf-8");
|
|
122
122
|
} catch (err) {
|
|
123
123
|
import_diagnostics.logger.warn({
|
|
124
124
|
label: "static-bundle-provider",
|
|
@@ -114,7 +114,7 @@ export default class StaticBundleProvider {
|
|
|
114
114
|
bundleSourcePath = path.join(this.siteRootDir, metadata.path);
|
|
115
115
|
}
|
|
116
116
|
// Read the bundle source code.
|
|
117
|
-
return
|
|
117
|
+
return await fs.readFile(bundleSourcePath, 'utf-8');
|
|
118
118
|
}
|
|
119
119
|
catch (err) {
|
|
120
120
|
// Ran it an un-expected error reading the bundle source code
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.13.0-alpha.
|
|
7
|
+
"version": "0.13.0-alpha.18",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"build/**/*.d.ts"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@lwrjs/diagnostics": "0.13.0-alpha.
|
|
56
|
-
"@lwrjs/shared-utils": "0.13.0-alpha.
|
|
55
|
+
"@lwrjs/diagnostics": "0.13.0-alpha.18",
|
|
56
|
+
"@lwrjs/shared-utils": "0.13.0-alpha.18"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@lwrjs/types": "0.13.0-alpha.
|
|
59
|
+
"@lwrjs/types": "0.13.0-alpha.18",
|
|
60
60
|
"@types/express": "^4.17.21",
|
|
61
61
|
"jest": "^26.6.3",
|
|
62
62
|
"jest-express": "^1.12.0",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"volta": {
|
|
70
70
|
"extends": "../../../package.json"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "da3c9ea71a70cc4e81d6e8bc8625ba9d00f784bd"
|
|
73
73
|
}
|