- Updated all package.json name fields and dependency references - Updated all TypeScript/JavaScript imports - Updated .woodpecker/publish.yml filters and registry paths - Updated tools/install.sh scope default - Updated .npmrc registry paths (worktree + host) - Enhanced update-checker.ts with checkForAllUpdates() multi-package support - Updated CLI update command to show table of all packages - Added KNOWN_PACKAGES, formatAllPackagesTable, getInstallAllCommand - Marked checkForUpdate() with @deprecated JSDoc Closes #391
33 lines
864 B
TypeScript
33 lines
864 B
TypeScript
import type { NextConfig } from 'next';
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
transpilePackages: ['@mosaicstack/design-tokens'],
|
|
|
|
// Enable gzip/brotli compression for all responses.
|
|
compress: true,
|
|
|
|
// Reduce bundle size: disable source maps in production builds.
|
|
productionBrowserSourceMaps: false,
|
|
|
|
// Image optimisation: allow the gateway origin as an external image source.
|
|
images: {
|
|
formats: ['image/avif', 'image/webp'],
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: '**',
|
|
},
|
|
],
|
|
},
|
|
|
|
// Experimental: enable React compiler for automatic memoisation (Next 15+).
|
|
// Falls back gracefully if the compiler plugin is not installed.
|
|
experimental: {
|
|
// Turbopack is the default in dev for Next 15; keep it opt-in for now.
|
|
// turbo: {},
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|