Revert "feat: Add experimental vite plugin (#3184)" (#3185)

This reverts commit a1571b76ed.

It broke fresh.deno.dev :S
This commit is contained in:
Marvin Hagemeister
2025-08-04 18:54:04 +02:00
committed by GitHub
parent a1571b76ed
commit 2f76a0a2aa
54 changed files with 742 additions and 2181 deletions
+2 -2
View File
@@ -166,14 +166,14 @@ function buildIdPlugin(buildId: string): EsbuildPlugin {
return {
name: "fresh-build-id",
setup(build) {
build.onResolve({ filter: /^fresh\/build-id$/ }, (args) => {
build.onResolve({ filter: /[/\\]+build_id\.ts$/ }, (args) => {
return {
path: args.path,
namespace: "fresh-internal",
};
});
build.onLoad({
filter: /^fresh\/build-id$/,
filter: /[/\\]build_id\.ts$/,
namespace: "fresh-internal",
}, () => {
return {