fix user button and images
Some checks failed
Go / build (push) Has been cancelled

This commit is contained in:
2025-10-11 09:23:01 +01:00
parent 5952c7e657
commit 49619f74c7
10 changed files with 513 additions and 26 deletions

View File

@@ -5,6 +5,7 @@ import terser from "@rollup/plugin-terser";
import resolve from "@rollup/plugin-node-resolve";
import livereload from "rollup-plugin-livereload";
import css from "rollup-plugin-css-only";
import copy from "rollup-plugin-copy";
const production = !process.env.ROLLUP_WATCH;
@@ -71,6 +72,17 @@ export default {
// If we're building for production (npm run build
// instead of npm run dev), minify
production && terser(),
// Copy static files from public to dist
copy({
targets: [
{ src: 'public/index.html', dest: 'dist' },
{ src: 'public/global.css', dest: 'dist' },
{ src: 'public/favicon.png', dest: 'dist' },
{ src: 'public/orly.png', dest: 'dist' },
{ src: 'public/orly-favicon.png', dest: 'dist' }
]
}),
],
watch: {
clearScreen: false,