🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
2
node_modules/astro/dist/vite-plugin-ssr-manifest/index.d.ts
generated
vendored
Normal file
2
node_modules/astro/dist/vite-plugin-ssr-manifest/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
import type { Plugin as VitePlugin } from 'vite';
|
||||
export declare function vitePluginSSRManifest(): VitePlugin;
|
25
node_modules/astro/dist/vite-plugin-ssr-manifest/index.js
generated
vendored
Normal file
25
node_modules/astro/dist/vite-plugin-ssr-manifest/index.js
generated
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
const manifestVirtualModuleId = "astro:ssr-manifest";
|
||||
const resolvedManifestVirtualModuleId = "\0" + manifestVirtualModuleId;
|
||||
function vitePluginSSRManifest() {
|
||||
return {
|
||||
name: "@astrojs/vite-plugin-astro-ssr-manifest",
|
||||
enforce: "post",
|
||||
resolveId(id) {
|
||||
if (id === manifestVirtualModuleId) {
|
||||
return resolvedManifestVirtualModuleId;
|
||||
}
|
||||
},
|
||||
load(id) {
|
||||
if (id === resolvedManifestVirtualModuleId) {
|
||||
return `export let manifest = {};
|
||||
export function _privateSetManifestDontUseThis(ssrManifest) {
|
||||
manifest = ssrManifest;
|
||||
}`;
|
||||
}
|
||||
return void 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
export {
|
||||
vitePluginSSRManifest
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue