Skip to content

Instantly share code, notes, and snippets.

View binarykitchen's full-sized avatar

Michael Heuberger binarykitchen

View GitHub Profile
@binarykitchen
binarykitchen / rsbuild.config.ts
Created January 26, 2025 06:08
Part 3: Original file
import { defineConfig } from "@rsbuild/core";
import { pluginPug } from "@rsbuild/plugin-pug";
import { pluginReact } from "@rsbuild/plugin-react";
import { pluginStylus } from "@rsbuild/plugin-stylus";
import { pluginSvgr } from "@rsbuild/plugin-svgr";
import { pluginGoogleAnalytics } from "rsbuild-plugin-google-analytics";
import { pluginNodePolyfill } from "@rsbuild/plugin-node-polyfill";
import { RsdoctorRspackPlugin } from "@rsdoctor/rspack-plugin";
import { pluginOpenGraph } from "rsbuild-plugin-open-graph";
export default {
target: [
'web',
'es2017'
],
name: 'client',
devtool: 'cheap-module-source-map',
context: '/home/michael-heuberger/code/binarykitchen/videomail.io',
mode: 'development',
infrastructureLogging: {
export default {
html: {
meta: {
charset: {
charset: "UTF-8",
},
viewport: "width=device-width,initial-scale=1",
"apple-mobile-web-app-status-bar-style": "#bbb",
author: "Michael Heuberger, Binary Kitchen",
"msapplication-navbutton-color": "#bbb",