@absolutejs/absolute 0.1.16 → 0.1.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.
@@ -8,5 +8,5 @@ type BuildConfig = {
8
8
  htmlDir?: string;
9
9
  htmxDir?: string;
10
10
  };
11
- export declare const build: ({ buildDir, assetsDir, reactIndexDir, javascriptDir, typeScriptDir, reactPagesDir, htmlDir, htmxDir }?: BuildConfig) => Promise<Record<string, string> | null>;
11
+ export declare const build: ({ buildDir, assetsDir, reactIndexDir, javascriptDir, typeScriptDir, reactPagesDir, htmlDir, htmxDir }: BuildConfig) => Promise<Record<string, string> | null>;
12
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/absolute",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "A fullstack meta-framework for building web applications with TypeScript",
5
5
  "repository": {
6
6
  "type": "git",
package/src/core/build.ts CHANGED
@@ -29,9 +29,20 @@ export const build = async ({
29
29
  reactPagesDir,
30
30
  htmlDir,
31
31
  htmxDir
32
- }: BuildConfig = {}) => {
32
+ }: BuildConfig) => {
33
33
  const start = performance.now();
34
34
 
35
+ console.log("Build Config", {
36
+ buildDir,
37
+ assetsDir,
38
+ reactIndexDir,
39
+ javascriptDir,
40
+ typeScriptDir,
41
+ reactPagesDir,
42
+ htmlDir,
43
+ htmxDir
44
+ });
45
+
35
46
  const projectRoot = cwd();
36
47
  const buildDirAbsolute = join(projectRoot, buildDir);
37
48
  const assetsDirAbsolute = assetsDir && join(projectRoot, assetsDir);