mirror of
https://github.com/jcreek/LivingDexTracker.git
synced 2026-07-12 18:43:45 +00:00
29 lines
575 B
TypeScript
29 lines
575 B
TypeScript
import {
|
|
createAppleSplashScreens,
|
|
defineConfig,
|
|
minimal2023Preset
|
|
} from '@vite-pwa/assets-generator/config';
|
|
|
|
export default defineConfig({
|
|
headLinkOptions: {
|
|
preset: '2023'
|
|
},
|
|
preset: {
|
|
...minimal2023Preset,
|
|
appleSplashScreens: createAppleSplashScreens(
|
|
{
|
|
padding: 0.3,
|
|
resizeOptions: { fit: 'contain', background: 'white' },
|
|
darkResizeOptions: { fit: 'contain', background: 'black' },
|
|
linkMediaOptions: {
|
|
log: true,
|
|
addMediaScreen: true,
|
|
xhtml: true
|
|
}
|
|
},
|
|
['iPad Air 9.7"']
|
|
)
|
|
},
|
|
images: 'static/favicon.png'
|
|
});
|