@@ -84,70 +84,6 @@ const config = {
8484 config . plugins . push ( new ProvidePlugin ( { React : "react" } ) ) ;
8585 return config ;
8686 } ,
87- async redirects ( ) {
88- return [
89- {
90- source : "/community" ,
91- destination : "/community/overview" ,
92- permanent : true ,
93- } ,
94- {
95- source : "/bucklescript-rebranding" ,
96- destination : "/blog/bucklescript-is-rebranding" ,
97- permanent : true ,
98- } ,
99- {
100- source : "/docs/manual/latest/migrate-from-bucklescript-reason" ,
101- destination : "/docs/manual/v10.0.0/migrate-from-bucklescript-reason" ,
102- permanent : true ,
103- } ,
104- {
105- source : "/docs/manual/latest/unboxed" ,
106- destination : "/docs/manual/v10.0.0/unboxed" ,
107- permanent : true ,
108- } ,
109- {
110- source : "/docs/gentype/latest/introduction" ,
111- destination : "/docs/manual/latest/typescript-integration" ,
112- permanent : true ,
113- } ,
114- {
115- source : "/docs/gentype/latest/getting-started" ,
116- destination : "/docs/manual/latest/typescript-integration" ,
117- permanent : true ,
118- } ,
119- {
120- source : "/docs/gentype/latest/usage" ,
121- destination : "/docs/manual/latest/typescript-integration" ,
122- permanent : true ,
123- } ,
124- {
125- source : "/docs/gentype/latest/supported-types" ,
126- destination : "/docs/manual/latest/typescript-integration" ,
127- permanent : true ,
128- } ,
129- {
130- source : "/docs/manual/latest/:slug*" ,
131- destination : `/docs/manual/${ process . env . VERSION_LATEST } /:slug*` ,
132- permanent : false ,
133- } ,
134- {
135- source : "/docs/manual/next/:slug*" ,
136- destination : `/docs/manual/${ process . env . VERSION_NEXT } /:slug*` ,
137- permanent : false ,
138- } ,
139- {
140- source : "/llms/manual/latest/:file*" ,
141- destination : `/llms/manual/${ process . env . VERSION_LATEST } /:file*` ,
142- permanent : false ,
143- } ,
144- {
145- source : "/llms/manual/next/:file*" ,
146- destination : `/llms/manual/${ process . env . VERSION_NEXT } /:file*` ,
147- permanent : false ,
148- } ,
149- ] ;
150- } ,
15187} ;
15288
15389export default {
0 commit comments