From 6305d20a4e7a41379bef92f343bc3afa9ca65e04 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Jun 2025 16:09:32 +0000 Subject: [PATCH 1/2] Initial plan for issue From 0aae1cfd10265b9a7e43e82cb9ecd5c11696722b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Jun 2025 16:24:03 +0000 Subject: [PATCH 2/2] Complete migration from Rollup.js to Vite build system Co-authored-by: Devcon4 <8965392+Devcon4@users.noreply.github.com> --- app/.babelrc | 14 - app/dockerfile | 2 +- app/{src => }/index.html | 2 +- app/package-lock.json | 26346 ++++++++++++------------------------- app/package.json | 32 +- app/plugins/iife-str.js | 15 +- app/rollup.config.js | 72 - app/vite.config.js | 51 + 8 files changed, 8647 insertions(+), 17887 deletions(-) delete mode 100644 app/.babelrc rename app/{src => }/index.html (99%) delete mode 100644 app/rollup.config.js create mode 100644 app/vite.config.js diff --git a/app/.babelrc b/app/.babelrc deleted file mode 100644 index c235712..0000000 --- a/app/.babelrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "presets": [ - ["@babel/env", { - "useBuiltIns": "usage", - "corejs": 3 - }], - "@babel/typescript" - ], - "plugins": [ - ["@babel/plugin-proposal-decorators", {"decoratorsBeforeExport": true}], - ["@babel/proposal-class-properties"], - "@babel/proposal-object-rest-spread" - ] -} \ No newline at end of file diff --git a/app/dockerfile b/app/dockerfile index ebacc16..ffbe013 100644 --- a/app/dockerfile +++ b/app/dockerfile @@ -1,6 +1,6 @@ ARG ENABLED_MODULES="brotli" -FROM node:16-alpine as build +FROM node:18-alpine as build # Context will be root dir not /app because of github action weirdness # https://github.com/moby/buildkit/issues/1684 diff --git a/app/src/index.html b/app/index.html similarity index 99% rename from app/src/index.html rename to app/index.html index c9e9ba7..b26879f 100644 --- a/app/src/index.html +++ b/app/index.html @@ -172,6 +172,6 @@