vike 0.4.246-commit-bb4b6db → 0.4.246-commit-0dbb3ec

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.
@@ -1,3 +1,3 @@
1
1
  export { defineConfig };
2
2
  import type { Config } from './Config.js';
3
- declare function defineConfig(config: Config): Config;
3
+ declare function defineConfig<T extends Config>(config: T): T;
@@ -1,4 +1,6 @@
1
1
  export { defineConfig };
2
+ // For JavaScript users. AFAICT there isn't another practical reason to use defineConfig() instead of `Config`.
3
+ // https://github.com/vikejs/vike/issues/1156
2
4
  function defineConfig(config) {
3
5
  return config;
4
6
  }
@@ -1 +1 @@
1
- export declare const PROJECT_VERSION: "0.4.246-commit-bb4b6db";
1
+ export declare const PROJECT_VERSION: "0.4.246-commit-0dbb3ec";
@@ -1,2 +1,2 @@
1
1
  // Automatically updated by @brillout/release-me
2
- export const PROJECT_VERSION = '0.4.246-commit-bb4b6db';
2
+ export const PROJECT_VERSION = '0.4.246-commit-0dbb3ec';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike",
3
- "version": "0.4.246-commit-bb4b6db",
3
+ "version": "0.4.246-commit-0dbb3ec",
4
4
  "repository": "https://github.com/vikejs/vike",
5
5
  "exports": {
6
6
  "./server": {
@@ -15,7 +15,8 @@
15
15
  "types": "./dist/esm/client/runtime-server-routing/index.d.ts"
16
16
  },
17
17
  "./types": {
18
- "types": "./dist/esm/types/index.d.ts"
18
+ "types": "./dist/esm/types/index.d.ts",
19
+ "default": "./dist/esm/types/index.js"
19
20
  },
20
21
  "./client/router": {
21
22
  "worker": "./dist/esm/node/client/router.js",