fix: Fix product page syntax errors
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.
This commit is contained in:
35
node_modules/astro/dist/assets/utils/index.js
generated
vendored
Normal file
35
node_modules/astro/dist/assets/utils/index.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import {
|
||||
isRemoteAllowed,
|
||||
matchHostname,
|
||||
matchPathname,
|
||||
matchPattern,
|
||||
matchPort,
|
||||
matchProtocol
|
||||
} from "@astrojs/internal-helpers/remote";
|
||||
import { isESMImportedImage, isRemoteImage, resolveSrc } from "./imageKind.js";
|
||||
import { imageMetadata } from "./metadata.js";
|
||||
import {
|
||||
emitESMImage,
|
||||
emitImageMetadata
|
||||
} from "./node/emitAsset.js";
|
||||
import { getOrigQueryParams } from "./queryParams.js";
|
||||
import { inferRemoteSize } from "./remoteProbe.js";
|
||||
import { hashTransform, propsToFilename } from "./transformToPath.js";
|
||||
export {
|
||||
emitESMImage,
|
||||
emitImageMetadata,
|
||||
getOrigQueryParams,
|
||||
hashTransform,
|
||||
imageMetadata,
|
||||
inferRemoteSize,
|
||||
isESMImportedImage,
|
||||
isRemoteAllowed,
|
||||
isRemoteImage,
|
||||
matchHostname,
|
||||
matchPathname,
|
||||
matchPattern,
|
||||
matchPort,
|
||||
matchProtocol,
|
||||
propsToFilename,
|
||||
resolveSrc
|
||||
};
|
||||
Reference in New Issue
Block a user