File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,5 @@ dist-ssr
22
22
* .njsproj
23
23
* .sln
24
24
* .sw ?
25
+
26
+ .env
Original file line number Diff line number Diff line change 13
13
href ="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap "
14
14
rel ="stylesheet "
15
15
/>
16
+ < meta name ="google-site-verification " content ="%VITE_GOOGLE_SITE_VERIFICATION% " />
16
17
</ head >
17
18
< body >
18
19
< div id ="root "> </ div >
Original file line number Diff line number Diff line change @@ -3,5 +3,15 @@ import react from '@vitejs/plugin-react'
3
3
4
4
// https://vitejs.dev/config/
5
5
export default defineConfig ( {
6
- plugins : [ react ( ) ] ,
7
- } )
6
+ plugins : [
7
+ react ( ) ,
8
+ {
9
+ name : 'html-transform' ,
10
+ transformIndexHtml ( html ) {
11
+ return html . replace (
12
+ '%VITE_GOOGLE_SITE_VERIFICATION%' ,
13
+ process . env . VITE_GOOGLE_SITE_VERIFICATION
14
+ ) ;
15
+ }
16
+ } ] ,
17
+ } )
You can’t perform that action at this time.
0 commit comments