Skip to content

Commit

Permalink
Implement recommended config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maarten-Dekker committed Jan 26, 2023
1 parent 87c68e8 commit eb9db7c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# build output
dist/
.output/
.astro

# dependencies
node_modules/
Expand Down
5 changes: 2 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import image from "@astrojs/image";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";

export default defineConfig({
export default {
site: "https://astroship.web3templates.com",
integrations: [
tailwind(),
Expand All @@ -14,4 +13,4 @@ export default defineConfig({
mdx(),
sitemap(),
],
});
};
3 changes: 2 additions & 1 deletion src/env.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/// <reference types="astro/client" />
/// <reference path="../.astro/types.d.ts" />
/// <reference types="@astrojs/image/client" />
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "astro/tsconfigs/base",
"compilerOptions": {
"strictNullChecks": true,
"baseUrl": "src",
"paths": {
"@lib/*": [
Expand Down

0 comments on commit eb9db7c

Please sign in to comment.