@ikas/storefront 0.0.64 → 0.0.65
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/index.es.js +1 -1
- package/build/index.js +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -24066,7 +24066,7 @@ var IkasThemeAPI = /** @class */ (function () {
|
|
|
24066
24066
|
}
|
|
24067
24067
|
IkasThemeAPI.fetchTheme = function () {
|
|
24068
24068
|
return new Promise(function (resolve, reject) {
|
|
24069
|
-
var themeJSONPath = "./public/theme.json";
|
|
24069
|
+
var themeJSONPath = process.env.THEME_JSON_PATH || "./public/theme.json";
|
|
24070
24070
|
fs.readFile(themeJSONPath, {
|
|
24071
24071
|
flag: "a+",
|
|
24072
24072
|
}, function (err, file) {
|
package/build/index.js
CHANGED
|
@@ -24045,7 +24045,7 @@ var IkasThemeAPI = /** @class */ (function () {
|
|
|
24045
24045
|
}
|
|
24046
24046
|
IkasThemeAPI.fetchTheme = function () {
|
|
24047
24047
|
return new Promise(function (resolve, reject) {
|
|
24048
|
-
var themeJSONPath = "./public/theme.json";
|
|
24048
|
+
var themeJSONPath = process.env.THEME_JSON_PATH || "./public/theme.json";
|
|
24049
24049
|
fs__default['default'].readFile(themeJSONPath, {
|
|
24050
24050
|
flag: "a+",
|
|
24051
24051
|
}, function (err, file) {
|