File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
packages/start/src/config Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,7 @@ export function manifest(start: SolidStartOptions): PluginOption {
5656 const manifestKey = Object . keys ( globalThis . START_CLIENT_BUNDLE ) . find ( k => k . endsWith ( "manifest.json" ) ) ;
5757 if ( manifestKey && viteMajor < 8 ) {
5858 const manifestAsset = globalThis . START_CLIENT_BUNDLE [ manifestKey ] as any ;
59- if ( manifestAsset . type === "asset" ) {
60- rawManifest = manifestAsset . source as string ;
61- } else if ( manifestAsset . type === "chunk" ) {
62- rawManifest = manifestAsset . code as string ;
63- } else if ( typeof manifestAsset === "string" ) {
64- rawManifest = manifestAsset ;
65- } else {
66- rawManifest = manifestAsset . source || manifestAsset . code || JSON . stringify ( manifestAsset ) ;
67- }
59+ rawManifest = manifestAsset . source as string ;
6860 } else {
6961 const fs = await import ( "node:fs" ) ;
7062 const path = await import ( "node:path" ) ;
You can’t perform that action at this time.
0 commit comments