cayo 1.1.0 → 1.1.2

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/lib/cli/build.js CHANGED
@@ -29,6 +29,7 @@ export async function build(_cayo) {
29
29
  ...inputs,
30
30
  },
31
31
  }
32
- }
32
+ },
33
+ experimental: config.vite.experimental,
33
34
  })
34
35
  }
@@ -11,13 +11,13 @@ export const errorLoggerVite = createLogger('error', {
11
11
  });
12
12
 
13
13
  const errorLogger = (err) => {
14
- let errorMessage = err;
15
14
  // TODO: good reason to write a new logger that is
16
15
  // globally initialized and passed in a runtime object,
17
16
  // so this could have access to _cayo.config options
18
17
  // Only really useful for dev
19
18
  // if (err.stack) errorMessage = err.stack;
20
- console.error(chalk.red.bold(`${errorMessage}`));
19
+ console.error(chalk.red.bold(err));
20
+ console.log(err);
21
21
 
22
22
  if (err.cause && !err.cause.cause) {
23
23
  console.error(`${chalk.red.bold('> Cause:')} ${chalk.red.bold(err.cause)}`);
@@ -36,6 +36,7 @@ const handleCause = (err) => {
36
36
  } else {
37
37
  // console.error(`${prefix} ${chalk.red.bold(err.stack)}`);
38
38
  // console.error(err.stack);
39
+ console.log(err);
39
40
  }
40
41
  }
41
42
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cayo",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "start": "node cayo dev --projectRoot test",