mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
* Stickers panel base complete * Improve dark mode stickers background for visibility * Prevent stickers from being too small or too big * Improve UI, added credit for Iconify API * Allow manually loading more collections * Add a maximum width of 200px so stickers aren't too big * cleanup * style: hover state of button * refactor: input component * fix: mark input component as client * so much stuff --------- Co-authored-by: Maze Winther <mazewinther@gmail.com>
50 lines
1.0 KiB
TypeScript
50 lines
1.0 KiB
TypeScript
import type { NextConfig } from "next";
|
|
import { withBotId } from "botid/next/config";
|
|
|
|
const nextConfig: NextConfig = {
|
|
compiler: {
|
|
removeConsole: process.env.NODE_ENV === "production",
|
|
},
|
|
reactStrictMode: true,
|
|
productionBrowserSourceMaps: true,
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "plus.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.marblecms.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "lh3.googleusercontent.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "avatars.githubusercontent.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.iconify.design",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.simplesvg.com",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "api.unisvg.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default withBotId(nextConfig);
|