1.0.0 • Published 10 months ago

@domain-expansion/astro v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

@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:

  1. Install the required dependencies
pnpm add @domain-expansion/astro
npm install @domain-expansion/astro
yarn add @domain-expansion/astro
  1. 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 package
  • package contains the actual package
  • docs 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.

Acknowledgements