This commit is contained in:
Andras Schmelczer 2026-05-06 22:40:46 +01:00
parent 28323f145e
commit 94f9c0d594
76 changed files with 3238 additions and 1230 deletions

View file

@ -5,6 +5,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
const ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');
const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
const sharp = require('sharp');
const webpack = require('webpack');
const HOUSE_IMAGE_WIDTH = 260;
@ -52,6 +53,9 @@ module.exports = (env, argv) => {
],
},
plugins: [
new webpack.DefinePlugin({
__DEV__: JSON.stringify(!isProduction),
}),
new HtmlWebpackPlugin({
template: './src/index.html',
}),