Skip to content

Commit

Permalink
feat: exclude manifest icons (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Mar 3, 2023
1 parent 6bd5fe6 commit d54376f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ function getViteConfiguration(
if (plugin)
throw new Error('Remove the vite-plugin-pwa plugin from Vite Plugins entry in Astro config file, configure it via @vite-pwa/astro integration')

// icons are there when `astro:build:done` hook is called
options.includeManifestIcons = false

const {
strategies = 'generateSW',
registerType = 'prompt',
Expand Down

0 comments on commit d54376f

Please sign in to comment.