mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
feat: enhance SSR and web applications with manifest injection and configuration updates
- Introduced a Vite plugin to inject the photos manifest into the HTML, enabling dynamic updates and hot reloading. - Updated ESLint configuration to ignore build errors during SSR. - Modified package.json scripts for concurrent development of SSR and web applications. - Adjusted paths and imports for better module resolution and consistency across the codebase. - Added type definitions for the global __MANIFEST__ variable to ensure type safety. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// @ts-check
|
||||
import { globalIgnores } from 'eslint/config'
|
||||
import { defineConfig } from 'eslint-config-hyoban'
|
||||
|
||||
import checkI18nJson from './plugins/eslint/eslint-check-i18n-json.js'
|
||||
@@ -60,4 +61,5 @@ export default defineConfig(
|
||||
'@stylistic/jsx-self-closing-comp': 'error',
|
||||
},
|
||||
},
|
||||
globalIgnores(['apps/ssr/src/index.html.ts']),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user