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}" />
13 preloadTagForFile(file) {
14 // add preload directives for JS assets and font assets, etc., skip for CSS files
15 // this function will be called with each file that is procesed by Vite, including any files in your headTagsTemplate in your config
16 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