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
410 B
JavaScript
15 lines
410 B
JavaScript
export function generateOptions(options, defaults) {
|
|
if (typeof options === 'function') {
|
|
defaults.callback = options;
|
|
}
|
|
else if (options) {
|
|
for (const name in options) {
|
|
/* istanbul ignore else */
|
|
if (Object.prototype.hasOwnProperty.call(options, name)) {
|
|
defaults[name] = options[name];
|
|
}
|
|
}
|
|
}
|
|
return defaults;
|
|
}
|