Implement recommended config changes
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
# build output
|
||||
dist/
|
||||
.output/
|
||||
.astro
|
||||
|
||||
# dependencies
|
||||
node_modules/
|
||||
|
||||
@@ -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(),
|
||||
@@ -14,4 +13,4 @@ export default defineConfig({
|
||||
mdx(),
|
||||
sitemap(),
|
||||
],
|
||||
});
|
||||
};
|
||||
|
||||
3
src/env.d.ts
vendored
3
src/env.d.ts
vendored
@@ -1 +1,2 @@
|
||||
/// <reference types="astro/client" />
|
||||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="@astrojs/image/client" />
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "astro/tsconfigs/base",
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "src",
|
||||
"paths": {
|
||||
"@lib/*": [
|
||||
|
||||
Reference in New Issue
Block a user