There was an error while loading. Please reload this page.
1 parent 1205e67 commit dd300b5Copy full SHA for dd300b5
1 file changed
packages/plugin-vite/src/plugins/dev_server.ts
@@ -1,16 +1,12 @@
1
import type { Plugin } from "vite";
2
import { nodeToRequest, responseToNode } from "../request.ts";
3
import * as path from "@std/path";
4
-import { pathWithRoot } from "../utils.ts";
5
import { ASSET_CACHE_BUST_KEY } from "fresh/internal";
6
7
export function devServer(): Plugin[] {
8
return [
9
{
10
name: "fresh:dev_server",
11
- configResolved(cfg) {
12
- publicDir = pathWithRoot(cfg.publicDir, cfg.root);
13
- },
14
configureServer(server) {
15
const IGNORE_URLS = /^\/(@(vite|fs|id)|\.vite)\//;
16
0 commit comments