kopia lustrzana https://codeberg.org/nmkj/audon
fix dev mode
rodzic
0cc8c797e2
commit
ee8ee0010e
|
@ -13,6 +13,7 @@ dist
|
|||
dist-ssr
|
||||
coverage
|
||||
*.local
|
||||
/index.html
|
||||
|
||||
/cypress/videos/
|
||||
/cypress/screenshots/
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="icon" href="/src/assets/favicon.svg">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Audon</title>
|
||||
<meta name="description" content="Audon: audio conversation, radio talk room for Mastodon (and Pleroma)">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app" data-version='%%VERSION%%'></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -3,8 +3,8 @@
|
|||
"version": "0.1.0-dev",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"dev": "cp -v index.dev.html index.html && vite",
|
||||
"build": "cp -v index.prod.html index.html && vite build",
|
||||
"hash": "sh -c 'sed -i -e \"s/%%VERSION%%/git-$(git rev-parse --short HEAD)/\" dist/index.html'",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
||||
|
|
Ładowanie…
Reference in New Issue