Notes page revamp! (#487)

* Setup wide layout

* fixup! Setup wide layout

* Setup new layout
This commit is contained in:
Chris 2025-11-06 17:59:30 +02:00 committed by GitHub
parent 92f12aad77
commit 72d0baeb75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 1299 additions and 412 deletions

View file

@ -1,8 +1,8 @@
const path = require('path');
const webpack = require('webpack');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const webpack = require('webpack');
const isDevelopment = process.env.NODE_ENV !== 'production';
@ -63,6 +63,16 @@ module.exports = {
plugins: [
isDevelopment && new ReactRefreshWebpackPlugin(),
isDevelopment && new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin(
Object.fromEntries(
Object.entries({
ENABLE_NOTE_COLOR: process.env.ENABLE_NOTE_COLOR,
}).map(([key, value]) => [
`process.env.${key}`,
JSON.stringify(value),
])
)
),
new HtmlWebpackPlugin({
title: 'tududi',
filename: 'index.html',