@domain-expansion/astro
v1.0.0
Published
Expanding™ the™ bits™ since™ 2024-12-12™
Downloads
734
Readme
@domain-expansion/astro
This is an Astro integration that Expands the Domain!
It adds Incremental Builds to Astro projects.
Usage
Installation
Install the integration automatically using the Astro CLI:
pnpm astro add @domain-expansion/astro
npx astro add @domain-expansion/astro
yarn astro add @domain-expansion/astro
Or install it manually:
- Install the required dependencies
pnpm add @domain-expansion/astro
npm install @domain-expansion/astro
yarn add @domain-expansion/astro
- Add the integration to your astro config
+import domainExpansion from "@domain-expansion/astro";
export default defineConfig({
integrations: [
+ domainExpansion(),
],
});
Contributing
This package is structured as a monorepo:
playground
contains code for testing the packagepackage
contains the actual packagedocs
contains the documentation
Install dependencies using pnpm:
pnpm i --frozen-lockfile
Start the playground and package watcher:
pnpm playground:dev
You can now edit files in package
. Please note that making changes to those files may require restarting the playground dev server.
Licensing
MIT Licensed. Made with ❤️ by the Domain Expansion.