From 94afb94e1615cd0f83e94a56120de0c2431c0a44 Mon Sep 17 00:00:00 2001 From: AmeMeida Date: Sun, 16 Jul 2023 15:33:14 -0300 Subject: [PATCH] =?UTF-8?q?configura=C3=A7=C3=B5es=20adicionais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 2 ++ astro.config.ts | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 9ae8d55..3b5801e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,6 +3,7 @@ "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", + "plugin:@typescript-eslint/recommended-type-checked", "prettier" ], "parser": "@typescript-eslint/parser", @@ -10,6 +11,7 @@ "node": true, "es6": true }, + "root": true, "rules": { "no-duplicate-case": "error", "no-fallthrough": "error", diff --git a/astro.config.ts b/astro.config.ts index 6d204a4..d28c4dd 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -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"; @@ -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", @@ -18,6 +18,10 @@ export default defineConfig({ build: { inlineStylesheets: "auto" }, + experimental: { + assets: true, + redirects: true + }, vite: { css: { postcss: { @@ -25,4 +29,4 @@ export default defineConfig({ } } } -}); +} satisfies AstroUserConfig;