.gitignore + untrack build outputs (node_modules, dist) — the nested repo needs its own ignore rules; the pipeline rebuilds anyway
deploy / build-and-publish (push) Successful in 45s
deploy / build-and-publish (push) Successful in 45s
This commit is contained in:
-13
@@ -1,13 +0,0 @@
|
||||
---
|
||||
import type { LocalImageProps, RemoteImageProps } from 'astro:assets';
|
||||
import Image from './Image.astro';
|
||||
|
||||
type Props = LocalImageProps | RemoteImageProps;
|
||||
|
||||
const { class: className, ...props } = Astro.props;
|
||||
|
||||
import './image.css';
|
||||
---
|
||||
|
||||
{/* Applying class outside of the spread prevents it from applying unnecessary astro-* classes */}
|
||||
<Image {...props} class={className} />
|
||||
Reference in New Issue
Block a user