mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-27 19:52:59 +00:00
Merge pull request #5058 from 5e-Cleric/fix-console-error
fix vite warning
This commit is contained in:
+6
-6
@@ -8,12 +8,12 @@ export default defineConfig({
|
|||||||
plugins : [react(), generateAssetsPlugin()],
|
plugins : [react(), generateAssetsPlugin()],
|
||||||
resolve : {
|
resolve : {
|
||||||
alias : {
|
alias : {
|
||||||
'@vitreum' : path.resolve(__dirname, './vitreum'),
|
'@vitreum' : path.resolve(import.meta.dirname, './vitreum'),
|
||||||
'@shared' : path.resolve(__dirname, './shared'),
|
'@shared' : path.resolve(import.meta.dirname, './shared'),
|
||||||
'@sharedStyles' : path.resolve(__dirname, './shared/naturalcrit/styles'),
|
'@sharedStyles' : path.resolve(import.meta.dirname, './shared/naturalcrit/styles'),
|
||||||
'@navbar' : path.resolve(__dirname, './client/homebrew/navbar'),
|
'@navbar' : path.resolve(import.meta.dirname, './client/homebrew/navbar'),
|
||||||
'@themes' : path.resolve(__dirname, './themes'),
|
'@themes' : path.resolve(import.meta.dirname, './themes'),
|
||||||
'@components' : path.resolve(__dirname, './client/components')
|
'@components' : path.resolve(import.meta.dirname, './client/components')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build : {
|
build : {
|
||||||
|
|||||||
Reference in New Issue
Block a user