Skip to content

Commit

Permalink
feat: use vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SunskyXH committed Feb 2, 2021
1 parent 02a257c commit cab8535
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vite.config.js → vite.config.ts
Original file line number Diff line number Diff line change
@@ -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'),
Expand All @@ -19,4 +21,4 @@ module.exports = {
},
},
},
}
})

0 comments on commit cab8535

Please sign in to comment.