#Exclude a File from Astro

10 messages · Page 1 of 1 (latest)

fossil burrow
#

I have an appwrite.json file in the root of my project (same level as astro.config and it is including the JSON file into my project. This is messing up my imports, which are trying to import from appwrite the package, not the json configuration file which exports nothing by default

#

when I hover over the import { Client } from "appwrite" it specifically says module "/home/zach/GitHub/myproject/node_modules/appwrite/types/index"

but then the error in the client is right there

jaunty flower
fossil burrow
fossil burrow
#

I had to add an alias to tsconfig

lone rose
#

The vite config just tells it how to build

fossil burrow
#

unless externalizing it will just make it not reference it entirely