updated development environment configuration

This commit is contained in:
Sebastian Wendel 2024-03-05 21:51:47 +01:00
parent 94afcc57a8
commit 5c97b90444
3 changed files with 34 additions and 14 deletions

11
.vscode/settings.json vendored
View file

@ -3,13 +3,22 @@
"[nix]": {
"editor.defaultFormatter": "kamadorueda.alejandra"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
}
}
}

View file

@ -7,9 +7,14 @@ export default defineConfig({
// https://astro.build/config
site: "https://srx.digital",
server: { port: 3001 },
integrations: [react(), tailwind()],
devToolbar: { enabled: false },
integrations: [
react(),
tailwind()
],
vite: {
plugins: [svgr()],
plugins: [
svgr()
],
},
devToolbar: { enabled: false },
});

View file

@ -8,34 +8,40 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@srx-components": [
"@srx/assets": [
"src/assets"
],
"@srx/assets/*": [
"src/assets/*"
],
"@srx/components": [
"src/components"
],
"@srx-components/*": [
"@srx/components/*": [
"src/components/*"
],
"@srx-layouts": [
"@srx/layouts": [
"src/layouts"
],
"@srx-layouts/*": [
"@srx/layouts/*": [
"src/layouts/*"
],
"@srx-pages": [
"@srx/pages": [
"src/pages"
],
"@srx-pages/*": [
"@srx/pages/*": [
"src/pages/*"
],
"@srx-scripts": [
"@srx/scripts": [
"src/scripts"
],
"@srx-scripts/*": [
"@srx/scripts/*": [
"src/scripts/*"
],
"@srx-styles": [
"@srx/styles": [
"src/styles"
],
"@srx-styles/*": [
"@srx/styles/*": [
"src/styles/*"
]
},