File tree Expand file tree Collapse file tree 4 files changed +0
-7
lines changed Expand file tree Collapse file tree 4 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ export async function orchestrate({
72
72
fontMetricsResolver : FontMetricsResolver ;
73
73
fontTypeExtractor : FontTypeExtractor ;
74
74
fontFileReader : FontFileReader ;
75
- // TODO: follow this implementation: https://github.com/withastro/astro/pull/13756/commits/e30ac2b7082a3eed36225da6e88449890cbcbe6b
76
75
logger : Logger ;
77
76
createUrlProxy : ( params : CreateUrlProxyParams ) => UrlProxy ;
78
77
defaults : Defaults ;
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ export async function compile({
47
47
normalizedFilename : normalizeFilename ( filename , astroConfig . root ) ,
48
48
sourcemap : 'both' ,
49
49
internalURL : 'astro/compiler-runtime' ,
50
- // TODO: this is no longer necessary for `Astro.site`
51
- // but it somehow allows working around caching issues in content collections for some tests
52
- astroGlobalArgs : JSON . stringify ( astroConfig . site ) ,
53
50
scopedStyleStrategy : astroConfig . scopedStyleStrategy ,
54
51
resultScopedSlot : true ,
55
52
transitionsAnimationURL : 'astro/components/viewtransitions.css' ,
Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ export async function createContainer({
134
134
handle ( req , res ) {
135
135
viteServer . middlewares . handle ( req , res , Function . prototype ) ;
136
136
} ,
137
- // TODO deprecate and remove
138
137
close ( ) {
139
138
return closeContainer ( container ) ;
140
139
} ,
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ Use import.meta.glob instead: https://vitejs.dev/guide/features.html#glob-import
34
34
// inside of getStaticPaths. See the `astroGlobalArgs` option for parameter type.
35
35
export function createAstro ( site : string | undefined ) : AstroGlobalPartial {
36
36
return {
37
- // TODO: this is no longer necessary for `Astro.site`
38
- // but it somehow allows working around caching issues in content collections for some tests
39
37
site : site ? new URL ( site ) : undefined ,
40
38
generator : `Astro v${ ASTRO_VERSION } ` ,
41
39
glob : createAstroGlobFn ( ) ,
You can’t perform that action at this time.
0 commit comments