Merge branch 'main' into stable

This commit is contained in:
KevIsDev
2025-05-12 01:31:47 +01:00
186 changed files with 29231 additions and 6159 deletions

View File

@@ -89,7 +89,6 @@ export default defineConfig((config) => {
__PKG_DEV_DEPENDENCIES: JSON.stringify(pkg.devDependencies),
__PKG_PEER_DEPENDENCIES: JSON.stringify(pkg.peerDependencies),
__PKG_OPTIONAL_DEPENDENCIES: JSON.stringify(pkg.optionalDependencies),
// Define global values
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV),
},
build: {
@@ -124,7 +123,6 @@ export default defineConfig((config) => {
global: true,
},
protocolImports: true,
// Exclude Node.js modules that shouldn't be polyfilled in Cloudflare
exclude: ['child_process', 'fs', 'path'],
}),
{
@@ -136,6 +134,8 @@ export default defineConfig((config) => {
map: null,
};
}
return null;
},
},
config.mode !== 'test' && remixCloudflareDevProxy(),
@@ -193,4 +193,4 @@ function chrome129IssuePlugin() {
});
},
};
}
}