Skip to content

Commit

Permalink
[New #151] Resolve aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
LaChope committed Jan 24, 2024
1 parent 14d38ea commit 837ff0d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,17 @@ export default defineConfig({
],
define: {
"process.env": process.env
}
},
resolve: {
alias: {
'jsonld': 'jsonld/dist/jsonld.js',
'@components': '/src/components',
'@styles': '/src/styles',
'@hooks': '/src/hooks',
'@utils': '/src/utils',
'@services': '/src/services',
'@models': '/src/models'

},
},
});

0 comments on commit 837ff0d

Please sign in to comment.