Mobile: - iOS-style open/close animation for app views (grows from the tapped icon, always slides straight down out of view and shrinks on close) - digital 2x1 clock widget in an iOS-style frosted-glass panel - new phone wallpaper (phonewallpaper.jpg) - larger notch Desktop: - desktop icons and shortcuts now launch on the second click - open/close/launcher animations - windows keep their state when toggling Gruvbox/Desktop themes, and the Welcome window only appears on the first page load Other: - update wallpaper credits to wallpapercave - allow LAN hosts in dev (allowedDevOrigins) so phones can load the dev bundle instead of getting a 403 and an inert page
18 lines
565 B
TypeScript
18 lines
565 B
TypeScript
import { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Allow testing the dev server from other devices on the LAN (e.g. a phone).
|
|
// Without this Next.js blocks cross-origin requests to /_next/* dev assets
|
|
// with a 403, which stops the JS from loading and makes the page inert.
|
|
allowedDevOrigins: ["192.168.10.124", "192.168.*.*", "10.*.*.*"],
|
|
webpack(config) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/i,
|
|
issuer: /\.[jt]sx?$/,
|
|
use: ["@svgr/webpack"],
|
|
});
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|