Skip to content

Commit c8de362

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

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

astro.config.mjs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
2-
import path, { dirname } from 'path';
3-
import { fileURLToPath } from 'url';
1+
import path, { dirname } from "path";
2+
import { fileURLToPath } from "url";
43
import { defineConfig } from "astro/config";
54
import mdx from "@astrojs/mdx";
65
import { h } from "hastscript";
@@ -20,12 +19,12 @@ const __dirname = dirname(__filename); // @type-check enabled!
2019
export default defineConfig({
2120
vite: {
2221
define: {
23-
'process.env.VITE_BUILD_TIME': JSON.stringify(new Date().toISOString()),
22+
"process.env.VITE_BUILD_TIME": JSON.stringify(new Date().toISOString()),
2423
},
2524
resolve: {
2625
alias: {
27-
'$': path.resolve(__dirname, './src')
28-
}
26+
$: path.resolve(__dirname, "./src"),
27+
},
2928
},
3029
},
3130
markdown: {
@@ -63,6 +62,6 @@ export default defineConfig({
6362
],
6463
output: "static",
6564
build: {
66-
minify: true
65+
minify: true,
6766
},
6867
});

0 commit comments

Comments
 (0)