Skip to content

Commit 9f02353

Browse files
committed
Parcel > Vite
1 parent cf82cbd commit 9f02353

29 files changed

+1273
-10540
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
!server/**
1212
!entrypoint.sh
1313
!.htmlnanorc
14+
!vite.config.js

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
ARG BUILD_DIR=/build
22

33
# Build Container
4-
FROM --platform=$BUILDPLATFORM python:3.11-slim-bullseye AS build
4+
FROM --platform=$BUILDPLATFORM node:20-alpine AS build
55

66
ARG BUILD_DIR
77

88
RUN mkdir ${BUILD_DIR}
99
WORKDIR ${BUILD_DIR}
1010

11-
RUN apt update && apt install -y npm
12-
13-
COPY package.json package-lock.json .htmlnanorc ./
11+
COPY package.json package-lock.json vite.config.js .htmlnanorc ./
1412
RUN npm ci
1513

1614
COPY client ./client

Dockerfile.experimental

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
ARG BUILD_DIR=/build
22

33
# Client Build Container
4-
FROM --platform=$BUILDPLATFORM python:3.11-slim-bullseye AS build
4+
FROM --platform=$BUILDPLATFORM node:20-alpine AS build
55

66
ARG BUILD_DIR
77

88
RUN mkdir ${BUILD_DIR}
99
WORKDIR ${BUILD_DIR}
1010

11-
RUN apt update && apt install -y npm
12-
13-
COPY package.json package-lock.json .htmlnanorc ./
11+
COPY package.json package-lock.json vite.config.js .htmlnanorc ./
1412
RUN npm ci
1513

1614
COPY client ./client

client/api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import * as constants from "./constants";
1+
import * as constants from "./constants.js";
22

3-
import EventBus from "./eventBus";
3+
import EventBus from "./eventBus.js";
44
import axios from "axios";
5-
import { getToken } from "./tokenStorage";
5+
import { getToken } from "./tokenStorage.js";
66

77
const api = axios.create();
88

client/assets/browserconfig.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

client/assets/mstile-144x144.png

-2.35 KB
Binary file not shown.

client/assets/mstile-150x150.png

-2.27 KB
Binary file not shown.

client/assets/mstile-310x150.png

-2.61 KB
Binary file not shown.

client/assets/mstile-310x310.png

-6.74 KB
Binary file not shown.

client/assets/mstile-70x70.png

-1.75 KB
Binary file not shown.

0 commit comments

Comments
 (0)