1. Remove duplicate/broken code in product tables section 2. Fix PostCSS config for Tailwind 4 3. Add @tailwindcss/postcss dependency 4. Remove --production flag from Dockerfile (sharp required) All fixes enable successful Docker build with favicon working.
15 lines
636 B
TypeScript
15 lines
636 B
TypeScript
import type { ResizeOptions, SharpOptions } from 'sharp';
|
|
import { type LocalImageService } from './service.js';
|
|
export interface SharpImageServiceConfig {
|
|
/**
|
|
* The `limitInputPixels` option passed to Sharp. See https://sharp.pixelplumbing.com/api-constructor for more information
|
|
*/
|
|
limitInputPixels?: SharpOptions['limitInputPixels'];
|
|
/**
|
|
* The `kernel` option is passed to resize calls. See https://sharp.pixelplumbing.com/api-resize/ for more information
|
|
*/
|
|
kernel?: ResizeOptions['kernel'];
|
|
}
|
|
declare const sharpService: LocalImageService<SharpImageServiceConfig>;
|
|
export default sharpService;
|