Skip to content

Commit b4d938e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 58d394d commit b4d938e

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

astro.config.mjs

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -120,21 +120,23 @@ export default defineConfig({
120120
serviceWorker({
121121
workbox: { inlineWorkboxRuntime: true },
122122
}),
123-
...(fastBuild? [] : [
124-
sitemap(),
125-
metaTags(),
126-
deleteUnusedImages(),
127-
compress({
128-
HTML: false,
129-
CSS: false,
130-
SVG: false,
131-
}),
132-
dontDie(),
133-
]),
123+
...(fastBuild
124+
? []
125+
: [
126+
sitemap(),
127+
metaTags(),
128+
deleteUnusedImages(),
129+
compress({
130+
HTML: false,
131+
CSS: false,
132+
SVG: false,
133+
}),
134+
dontDie(),
135+
]),
134136
],
135137
output: "static",
136138
build: {
137-
...(fastBuild? {} : { minify: true,}),
139+
...(fastBuild ? {} : { minify: true }),
138140
},
139141
image: {
140142
remotePatterns: [{ protocol: "https" }],

0 commit comments

Comments
 (0)