@elliemae/pui-cli 7.0.0-alpha.31 → 7.0.0-alpha.32

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.
@@ -42,7 +42,7 @@ const startProdServer = async () => {
42
42
  );
43
43
  };
44
44
  const startDevServer = async () => {
45
- const configFile = `../webpack/${(0, import_utils.isApp)() ? "webpack.dev.babel.js" : "webpack.lib.dev.babel.js"}`;
45
+ const configFile = `../webpack/${await (0, import_utils.isApp)() ? "webpack.dev.babel.js" : "webpack.lib.dev.babel.js"}`;
46
46
  await (0, import_utils.exec)(
47
47
  `cross-env NODE_ENV=development webpack serve --config ${import_node_path.default.resolve(
48
48
  __dirname,
@@ -153,4 +153,4 @@ const isPathExist = async (pathToCheck) => {
153
153
  return false;
154
154
  }
155
155
  };
156
- const isApp = () => isPathExist(import_node_path.default.join(process.cwd(), "app"));
156
+ const isApp = async () => isPathExist(import_node_path.default.join(process.cwd(), "app"));
@@ -12,7 +12,7 @@ const startProdServer = async () => {
12
12
  );
13
13
  };
14
14
  const startDevServer = async () => {
15
- const configFile = `../webpack/${isApp() ? "webpack.dev.babel.js" : "webpack.lib.dev.babel.js"}`;
15
+ const configFile = `../webpack/${await isApp() ? "webpack.dev.babel.js" : "webpack.lib.dev.babel.js"}`;
16
16
  await exec(
17
17
  `cross-env NODE_ENV=development webpack serve --config ${path.resolve(
18
18
  __dirname,
@@ -129,7 +129,7 @@ const isPathExist = async (pathToCheck) => {
129
129
  return false;
130
130
  }
131
131
  };
132
- const isApp = () => isPathExist(path.join(process.cwd(), "app"));
132
+ const isApp = async () => isPathExist(path.join(process.cwd(), "app"));
133
133
  export {
134
134
  copyBuildAssetsToVersionedFolder,
135
135
  exec,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "7.0.0-alpha.31",
3
+ "version": "7.0.0-alpha.32",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",