@monkeyplus/flow 4.0.0-beta.13 → 4.0.0-beta.15

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/dist/index.cjs CHANGED
@@ -38,7 +38,7 @@ const fs__default$1 = /*#__PURE__*/_interopDefaultLegacy(fs$1);
38
38
  const chokidar__default = /*#__PURE__*/_interopDefaultLegacy(chokidar);
39
39
 
40
40
  const name = "@monkeyplus/flow";
41
- const version = "4.0.0-beta.13";
41
+ const version = "4.0.0-beta.15";
42
42
  const description = "Utils hapi";
43
43
  const author = "Andres Navarrete";
44
44
  const license = "MIT";
@@ -582,7 +582,7 @@ const useGenerator = {
582
582
  if (!virtualGenerate)
583
583
  injectAssets(_assets);
584
584
  const dirOutut = helpers.getPath(configs.outputDir ?? "build");
585
- const staticDirs = Object.keys(server.app.flow.generate.staticFolders).map((dir) => helpers.getPath(dir));
585
+ const staticDirs = [configs.staticDir].map((dir) => helpers.getPath(dir));
586
586
  const files = await getFlowPages();
587
587
  const pairFiles = R__namespace.toPairs(files);
588
588
  const ommit = ommitAssets;
package/dist/index.mjs CHANGED
@@ -12,7 +12,7 @@ import { createHooks } from 'hookable';
12
12
  import chokidar from 'chokidar';
13
13
 
14
14
  const name = "@monkeyplus/flow";
15
- const version = "4.0.0-beta.13";
15
+ const version = "4.0.0-beta.15";
16
16
  const description = "Utils hapi";
17
17
  const author = "Andres Navarrete";
18
18
  const license = "MIT";
@@ -556,7 +556,7 @@ const useGenerator = {
556
556
  if (!virtualGenerate)
557
557
  injectAssets(_assets);
558
558
  const dirOutut = helpers.getPath(configs.outputDir ?? "build");
559
- const staticDirs = Object.keys(server.app.flow.generate.staticFolders).map((dir) => helpers.getPath(dir));
559
+ const staticDirs = [configs.staticDir].map((dir) => helpers.getPath(dir));
560
560
  const files = await getFlowPages();
561
561
  const pairFiles = R.toPairs(files);
562
562
  const ommit = ommitAssets;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "4.0.0-beta.13",
3
+ "version": "4.0.0-beta.15",
4
4
  "description": "Utils hapi",
5
5
  "author": "Andres Navarrete",
6
6
  "license": "MIT",