Skip to content

Commit

Permalink
switch svelte & tailwind configs back to js
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondwang committed Apr 4, 2024
1 parent 424496a commit 55592b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions svelte.config.ts → svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import adapter from '@sveltejs/adapter-static';
import type { Config } from '@sveltejs/kit';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

const config: Config = {
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter(),
paths: {
Expand Down
7 changes: 2 additions & 5 deletions tailwind.config.ts → tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import type { Config } from 'tailwindcss';

const config: Config = {
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
plugins: [],
theme: {
extend: {},
},
};

export default config;

0 comments on commit 55592b6

Please sign in to comment.