From fbd6bff2a9b2c8633c45f5a28cbaf14eec11fb93 Mon Sep 17 00:00:00 2001 From: Thomas Cole Date: Wed, 29 Jun 2022 09:47:49 -0400 Subject: [PATCH] Added svelte and removed track on package-lock --- .gitignore | 2 ++ astro.config.mjs | 6 +++++- package.json | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7329a85..75bf6dc 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ pnpm-debug.log* # macOS-specific files .DS_Store + +package-lock.json diff --git a/astro.config.mjs b/astro.config.mjs index 882e651..05df4a5 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,4 +1,8 @@ import { defineConfig } from 'astro/config'; +import svelte from '@astrojs/svelte'; + // https://astro.build/config -export default defineConfig({}); +export default defineConfig({ + integrations: [svelte()], +}); diff --git a/package.json b/package.json index 055321a..8f6467f 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,10 @@ "preview": "astro preview" }, "devDependencies": { + "@astrojs/svelte": "0.2.0", "astro": "^1.0.0-beta.58" + }, + "dependencies": { + "svelte":"^3.48.0" } }