Skip to content

Commit

Permalink
🔧 config
Browse files Browse the repository at this point in the history
- remove alias
- fix entry file
  • Loading branch information
d2FuZ3h1ZG9uZw committed Mar 15, 2022
1 parent edd140f commit ed7b776
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"noUnusedParameters": true,
"noImplicitReturns": true,
"paths": {
"utils": ["./lib/utils"]
// "utils": ["./lib/utils"]
}
}
}
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { defineConfig } from 'vite'
export default defineConfig({
resolve: {
alias: {
utils: '/lib/utils'
// utils: '/lib/utils'
}
},
build: {
lib: {
entry: path.resolve(__dirname, 'lib/createStore.js'),
entry: path.resolve(__dirname, 'lib/main.js'),
name: '@useless/store',
fileName: format => `store.${format}.js`
},
Expand Down

0 comments on commit ed7b776

Please sign in to comment.