ci: add Makefile and stricter eslint config
Deploy / Build (push) Has been cancelled
Deploy / Deploy to Stapler (push) Has been cancelled
Lint / ESLint (push) Has been cancelled
Lint / Oxlint (push) Has been cancelled
Lint / Type Check (push) Has been cancelled

This commit is contained in:
2026-05-02 00:08:13 +02:00
parent 1b626c1e89
commit 767fb8cfc6
12 changed files with 303 additions and 188 deletions
+5 -5
View File
@@ -10,11 +10,11 @@ import articlesConfig from './articles/config.json'
export default ({ mode }: { mode: string }) => {
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) }
process.env.VITE_BASE_URL = articlesConfig['base_url']
process.env.VITE_APP_TITLE = articlesConfig['title']
process.env.VITE_APP_TITLE_NO_HTML = articlesConfig['title'].replace(/(<([^>]+)>)/gi, '').trim()
process.env.VITE_APP_LANG = articlesConfig['lang']
process.env.VITE_CUSTOM_HEAD = articlesConfig['custom_head']
process.env.VITE_BASE_URL = articlesConfig.base_url
process.env.VITE_APP_TITLE = articlesConfig.title
process.env.VITE_APP_TITLE_NO_HTML = articlesConfig.title.replace(/(<([^>]+)>)/gi, '').trim()
process.env.VITE_APP_LANG = articlesConfig.lang
process.env.VITE_CUSTOM_HEAD = articlesConfig.custom_head
return defineConfig({
plugins: [vue(), vueDevTools(), mdPlugin({ mode: [Mode.HTML] })],