Skip to content

Commit

Permalink
update vite config to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Sep 19, 2023
1 parent ff2266f commit 7eeed35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@
"root": true,
"extends": "@feltjs",
"ignorePatterns": [
"gro.config.ts",
"svelte.config.js",
"vite.config.js"
"vite.config.ts"
]
},
"prettier": {
Expand Down
4 changes: 2 additions & 2 deletions vite.config.js → vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {UserConfig} from 'vite';
import {sveltekit} from '@sveltejs/kit/vite';

/** @type {import('vite').UserConfig} */
const config = {
const config: UserConfig = {
plugins: [sveltekit()],
ssr: {noExternal: ['@feltjs/felt-ui']},
};
Expand Down

0 comments on commit 7eeed35

Please sign in to comment.