File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/astro/src/core/middleware Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ export default {
2929 'test/types/**/*' ,
3030 'e2e/**/*.test.js' ,
3131 'test/units/teardown.js' ,
32+ // Can't detect this file when using inside a vite plugin
33+ 'src/vite-plugin-app/createAstroServerApp.ts' ,
3234 ] ,
3335 ignore : [
3436 '**/e2e/**/{fixtures,_temp-fixtures}/**' ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { AstroError } from '../errors/index.js';
1010import { normalizePath } from '../viteUtils.js' ;
1111
1212export const MIDDLEWARE_MODULE_ID = 'virtual:astro:middleware' ;
13- export const MIDDLEWARE_RESOLVED_MODULE_ID = '\0' + MIDDLEWARE_MODULE_ID ;
13+ const MIDDLEWARE_RESOLVED_MODULE_ID = '\0' + MIDDLEWARE_MODULE_ID ;
1414const NOOP_MIDDLEWARE = '\0noop-middleware' ;
1515
1616export function vitePluginMiddleware ( { settings } : { settings : AstroSettings } ) : VitePlugin {
You can’t perform that action at this time.
0 commit comments