Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
JB AUBREE committed Oct 30, 2024
1 parent 6281659 commit 8e0e604
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { h } from 'vue'
import { UnuseUI } from 'unuse-ui'
import Theme from 'vitepress/theme'

import 'unuse-ui/dist/style.css'
import 'unuse-ui/dist/assets/style.css'
import 'uno.css'
import './style.css'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
".": {
"import": "./dist/index.js"
},
"./dist/style.css": "./dist/assets/style.css"
"./dist/assets/style.css": "./dist/assets/style.css"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion playground/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createRouter, createWebHistory } from 'vue-router/auto'
import App from './App.vue'
import { options } from './unuse.config'

import 'unuse-ui/dist/style.css'
import 'unuse-ui/dist/assets/style.css'
import 'uno.css'

const router = createRouter({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"paths": {
"~/*": ["src/*"],
"unuse-ui": ["./src/unuse-ui.ts"]
"unuse-ui": ["./src/index.ts"]
}
},
"exclude": ["dist", "node_modules"]
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const config = defineConfig({
lib: {
entry: {
...entry,
index: fileURLToPath(new URL('src/unuse-ui.ts', import.meta.url)),
index: fileURLToPath(new URL('src/index.ts', import.meta.url)),
},
formats: ['es'],
},
Expand Down

0 comments on commit 8e0e604

Please sign in to comment.