Skip to content

Commit 09be8a4

Browse files
fix(router-generator) include ROUTE_MANIFEST_START for solid (#3550)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent ed26995 commit 09be8a4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/router-generator/src/generator.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,10 +711,9 @@ export async function generator(config: Config, root: string) {
711711
)
712712
}
713713

714+
const includeManifest = ['react', 'solid']
714715
const routeConfigFileContent =
715-
// TODO: Remove this disabled eslint rule when more target types are added.
716-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
717-
config.disableManifestGeneration || config.target !== 'react'
716+
config.disableManifestGeneration || !includeManifest.includes(config.target)
718717
? routeImports
719718
: [
720719
routeImports,

0 commit comments

Comments
 (0)