This commit is contained in:
avivash 2023-01-06 11:01:02 -08:00
parent 33ceebadc3
commit 685b3b7738
6 changed files with 1380 additions and 2574 deletions

3931
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,8 +12,8 @@
"format": "prettier --write --plugin-search-dir=. ." "format": "prettier --write --plugin-search-dir=. ."
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-static": "^1.0.0", "@sveltejs/adapter-static": "1.0.0-next.43",
"@sveltejs/kit": "^1.0.1", "@sveltejs/kit": "1.0.0-next.489",
"@tailwindcss/typography": "^0.5.2", "@tailwindcss/typography": "^0.5.2",
"@types/qrcode-svg": "^1.1.1", "@types/qrcode-svg": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/eslint-plugin": "^4.33.0",
@ -37,7 +37,7 @@
"tsconfig-paths": "^3.12.0", "tsconfig-paths": "^3.12.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
"typescript": "^4.4.4", "typescript": "^4.4.4",
"vite": "^4.0.0" "vite": "^3.0.0"
}, },
"type": "module", "type": "module",
"ava": { "ava": {

View File

@ -1,4 +1,3 @@
export const csr = true export const csr = true
export const ssr = false export const ssr = false
export const prerender = true export const prerender = true
export const trailingSlash = 'always'

View File

@ -9,7 +9,8 @@ const config = {
kit: { kit: {
adapter: adapter({ adapter: adapter({
fallback: 'index.html' fallback: 'index.html'
}) }),
trailingSlash: 'always'
}, },
} }

View File

@ -1,7 +1,6 @@
module.exports = { module.exports = {
mode: 'jit', mode: 'jit',
content: ['./src/**/*.{html,js,svelte,ts}'], content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: ['alert-success', 'alert-error', 'alert-info', 'alert-warning'],
plugins: [require('daisyui')], plugins: [require('daisyui')],
darkMode: ['class', '[data-theme="dark"]'], darkMode: ['class', '[data-theme="dark"]'],
daisyui: { daisyui: {
@ -123,5 +122,10 @@ module.exports = {
max: '1000' // High enough to appear above the modal(999) max: '1000' // High enough to appear above the modal(999)
} }
} }
},
purge: {
options: {
safelist: ['alert-success', 'alert-error', 'alert-info', 'alert-warning']
}
} }
} }

View File

@ -23,15 +23,10 @@
"allowJs": true, "allowJs": true,
"checkJs": true, "checkJs": true,
"paths": { "paths": {
"$components": ["src/components"],
"$components/*": ["src/components/*"], "$components/*": ["src/components/*"],
"$lib":["src/lib"],
"$lib/*": ["src/lib/*"], "$lib/*": ["src/lib/*"],
"$routes": ["src/routes"],
"$routes/*": ["src/routes/*"], "$routes/*": ["src/routes/*"],
"$src": ["src"],
"$src/*": ["src/*"], "$src/*": ["src/*"],
"$static": ["static"],
"$static/*": ["static/*"] "$static/*": ["static/*"]
} }
}, },