1import { defineConfig } from "vite";
2import adapter from "elm-pages/adapter/netlify.js";
5 vite: defineConfig({}),
7 headTagsTemplate(context) {
9<link rel="stylesheet" href="/style.css" />
10<meta name="generator" content="elm-pages v${context.cliVersion}" />
11<script type="text/javascript" >
12 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
14 for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
15 k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
16 (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
18 ym(99382050, "init", {
21 accurateTrackBounce:true,
27 preloadTagForFile(file) {
28 // add preload directives for JS assets and font assets, etc., skip for CSS files
29 // this function will be called with each file that is procesed by Vite, including any files in your headTagsTemplate in your config
30 return !file.endsWith(".css");
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list