We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
virtual:
1 parent 64df4cf commit dfdff9eCopy full SHA for dfdff9e
src/build/plugins/raw.ts
@@ -2,8 +2,8 @@ import { promises as fsp } from "node:fs";
2
import mime from "mime";
3
import type { Plugin } from "rollup";
4
5
-const HELPER_ID = "\0nitro-raw-helpers";
6
-const RESOLVED_PREFIX = "\0nitro:raw:";
+const HELPER_ID = "virtual:nitro-raw-helpers";
+const RESOLVED_PREFIX = "virtual:nitro:raw:";
7
const PREFIX = "raw:";
8
9
export function raw(): Plugin {
test/fixture/vite.config.ts
@@ -0,0 +1,6 @@
1
+import { defineConfig } from "vite";
+import { nitro } from "nitro/vite";
+
+export default defineConfig({
+ plugins: [nitro()],
+});
0 commit comments