mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): opt AI Gateway pages into React Compiler (#24713)
Adds AI Gateway pages to the list of React Compiler-compiled pages. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
02b123518c
commit
780aa6ce94
@@ -16,7 +16,9 @@ const isProfilingBuild = process.env.CODER_REACT_PROFILING === "true";
|
|||||||
const compilerPreset = reactCompilerPreset();
|
const compilerPreset = reactCompilerPreset();
|
||||||
compilerPreset.rolldown.filter = {
|
compilerPreset.rolldown.filter = {
|
||||||
...compilerPreset.rolldown.filter,
|
...compilerPreset.rolldown.filter,
|
||||||
id: { include: [/src\/pages\/AgentsPage\//] },
|
id: {
|
||||||
|
include: [/src\/pages\/AgentsPage\//, /src\/pages\/AIBridgePage\//],
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const plugins: PluginOption[] = [
|
const plugins: PluginOption[] = [
|
||||||
|
|||||||
Reference in New Issue
Block a user