Skip to content

Commit f4cd7ee

Browse files
committed
move constants to config
1 parent 607af4c commit f4cd7ee

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
File renamed without changes.

packages/start/src/config/dev-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
type PluginOption,
66
type ViteDevServer,
77
} from "vite";
8-
import { VITE_ENVIRONMENTS } from "../constants.ts";
8+
import { VITE_ENVIRONMENTS } from "./constants.ts";
99

1010
export function devServer(): Array<PluginOption> {
1111
return [

packages/start/src/config/fs-routes/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { relative } from "node:path";
22
import type { PluginOption } from "vite";
33

4-
import { VITE_ENVIRONMENTS } from "../../constants.ts";
4+
import { VITE_ENVIRONMENTS } from "../constants.ts";
55
import { fileSystemWatcher } from "./fs-watcher.ts";
66
import type { BaseFileSystemRouter } from "./router.ts";
77
import { treeShake } from "./tree-shake.ts";

packages/start/src/config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
DEFAULT_EXTENSIONS,
1010
VIRTUAL_MODULES,
1111
VITE_ENVIRONMENTS,
12-
} from "../constants.ts";
12+
} from "./constants.ts";
1313
import { isCssModulesFile } from "../server/collect-styles.ts";
1414
import { getSsrDevManifest } from "../server/manifest/dev-ssr-manifest.ts";
1515
import { devServer } from "./dev-server.ts";

packages/start/src/server/manifest/prod-ssr-manifest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { clientViteManifest } from "solid-start:client-vite-manifest";
22
import { join } from "pathe";
3-
import { CLIENT_BASE_PATH } from "../../constants.ts";
3+
import { CLIENT_BASE_PATH } from "../../config/constants.ts";
44
import type { Asset } from "../renderAsset.tsx";
55

66
// Only reads from client manifest atm, might need server support for islands

0 commit comments

Comments
 (0)