diff --git a/vite.config.js b/vite.config.ts similarity index 86% rename from vite.config.js rename to vite.config.ts index 200c214..2f8517d 100644 --- a/vite.config.js +++ b/vite.config.ts @@ -1,6 +1,8 @@ const path = require('path') -module.exports = { +import { defineConfig } from 'vite' + +export default defineConfig({ build: { lib: { entry: path.resolve(__dirname, 'lib/main.ts'), @@ -19,4 +21,4 @@ module.exports = { }, }, }, -} +})