1.0.4 • Published 6 months ago

astro-copy-prod-deps v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

astro-copy-prod-deps

astro-copy-prod-deps is an Astro integration for use with hybrid and SSR websites that copies only the dependencies needed in production from node_modules to the dist/server directory.

This is useful if you have a CI server building your website and don't want to run npm install on your production web server.

Image

Installation

Automatic

Run npx astro add astro-copy-prod-deps to install the integration.

Manual

Modify your astro.config.mjs file as follows:

import copyProdDeps from `astro-copy-prod-deps`;

export default defineConfig({
  integrations: [copyProdDeps()]
});
1.0.4

6 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago