mirror of
https://github.com/LukeHagar/sveltekit-extension-template.git
synced 2025-12-06 12:47:49 +00:00
Merge pull request #1 from niktek/chore/migrate-skeleton-v2
Migrated skeleton to v2 and dep updates
This commit is contained in:
@@ -42,10 +42,12 @@
|
||||
"tailwindcss": "^3.3.3",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.2.2",
|
||||
"vite-plugin-tailwind-purgecss": "^0.1.3",
|
||||
"vite": "^4.4.11",
|
||||
"vitest": "^0.34.6",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"watch": "^1.0.2"
|
||||
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<script lang='ts'>
|
||||
|
||||
// Most of your app wide CSS should be put in this file
|
||||
import '../app.postcss';
|
||||
import { AppShell, AppBar } from '@skeletonlabs/skeleton';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { join } from 'path';
|
||||
import type { Config } from 'tailwindcss';
|
||||
|
||||
|
||||
// 1. Import the Skeleton plugin
|
||||
import { skeleton } from '@skeletonlabs/tw-plugin';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { purgeCss } from 'vite-plugin-tailwind-purgecss';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
plugins: [sveltekit(), purgeCss()],
|
||||
test: {
|
||||
include: ['src/**/*.{test,spec}.{js,ts}']
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user