File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1-
2- import path , { dirname } from 'path' ;
3- import { fileURLToPath } from 'url' ;
1+ import path , { dirname } from "path" ;
2+ import { fileURLToPath } from "url" ;
43import { defineConfig } from "astro/config" ;
54import mdx from "@astrojs/mdx" ;
65import { h } from "hastscript" ;
@@ -20,12 +19,12 @@ const __dirname = dirname(__filename); // @type-check enabled!
2019export 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} ) ;
You can’t perform that action at this time.
0 commit comments