Skip to content

Commit

Permalink
chore: move code
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Apr 29, 2024
1 parent 01be752 commit 71ef6a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/react-server/src/features/bootstrap/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import fs from "node:fs";
import { tinyassert, typedBoolean } from "@hiogawa/utils";
import type { Manifest, PluginOption, ViteDevServer } from "vite";
import { $__global } from "../../global";
import { VIRTUAL_COPY_SERVER_CSS } from "../style/plugin";
import { createVirtualPlugin } from "../utils/plugin";
import { VIRTUAL_COPY_SERVER_CSS } from "./css";

export const ENTRY_CLIENT_BOOTSTRAP = "virtual:entry-client-bootstrap";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { tinyassert } from "@hiogawa/utils";
import type { DevEnvironment, Manifest, PluginOption } from "vite";
import type { ReactServerPluginManager } from "../../../vite.config";
import { $__global } from "../../global";
import { ENTRY_CLIENT_BOOTSTRAP } from "../bootstrap/plugin";
import { createVirtualPlugin } from "../utils/plugin";
import { ENTRY_CLIENT_BOOTSTRAP } from "./plugin";

const VIRTUAL_SSR_CSS = "virtual:ssr-css.css";
export const VIRTUAL_COPY_SERVER_CSS = "virtual:copy-server-css.js";
Expand Down
2 changes: 1 addition & 1 deletion examples/react-server/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import {
createServerModuleRunner,
defineConfig,
} from "vite";
import { vitePluginServerCss } from "./src/features/bootstrap/css";
import {
ENTRY_CLIENT_BOOTSTRAP,
vitePluginEntryBootstrap,
} from "./src/features/bootstrap/plugin";
import { vitePluginServerCss } from "./src/features/style/plugin";
import { vitePluginTestReactServerStream } from "./src/features/test/plugin";
import {
collectFiles,
Expand Down

0 comments on commit 71ef6a5

Please sign in to comment.