0.1.2 • Published 7 months ago

astro-merge-assets v0.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

astro-merge-assets

The integration will bundle all CSS and JS files into a single file after Astro's static build.

The output after the integration runs will look like this:

dist
  _astro
    script.js
    style.css
  ...

Setup

astro.config.ts

import { defineConfig } from 'astro/config'
import { astroMergeAssets } from 'astro-merge-assets'

export default defineConfig({
  output: 'static',

  integrations: [astroMergeAssets()],
})
0.1.2

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago