Skip to content

Commit

Permalink
configurações adicionais
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeMeida committed Jul 16, 2023
1 parent 14b67f4 commit 94afb94
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"prettier"
],
"parser": "@typescript-eslint/parser",
"env": {
"node": true,
"es6": true
},
"root": true,
"rules": {
"no-duplicate-case": "error",
"no-fallthrough": "error",
Expand Down
10 changes: 7 additions & 3 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from "astro/config";
import type { AstroUserConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import autoprefixer from "autoprefixer";
import cssnano from "cssnano";
Expand All @@ -8,7 +8,7 @@ import sitemap from "@astrojs/sitemap";
import image from "@astrojs/image";

// https://astro.build/config
export default defineConfig({
export default {
site: "https://commandee.com",
integrations: [tailwind(), sitemap(), image()],
output: "server",
Expand All @@ -18,11 +18,15 @@ export default defineConfig({
build: {
inlineStylesheets: "auto"
},
experimental: {
assets: true,
redirects: true
},
vite: {
css: {
postcss: {
plugins: [autoprefixer(), cssnano()]
}
}
}
});
} satisfies AstroUserConfig;

0 comments on commit 94afb94

Please sign in to comment.