mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
build: source.config.ts not found
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ WORKDIR /usr/src/web
|
||||
ENV VITE_APP_API_URL=${CONTEXT_PATH} \
|
||||
VITE_APP_BASE_PATH=${ROUTE_ROOT_PATH}
|
||||
|
||||
COPY --from=source /usr/src/web/package.json /usr/src/web/bun.lock /usr/src/web/
|
||||
COPY --from=source /usr/src/web/package.json /usr/src/web/bun.lock /usr/src/web/source.config.ts /usr/src/web/
|
||||
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import * as MdxConfig from "./source.config";
|
||||
|
||||
export default defineConfig({
|
||||
base: env.NODE_ENV === "development" ? '' : `${env.VITE_APP_API_URL}/`,
|
||||
base: env.NODE_ENV === "development" ? '/' : `${env.VITE_APP_API_URL}/`,
|
||||
plugins: [
|
||||
mdx(MdxConfig),
|
||||
tailwindcss(),
|
||||
|
||||
Reference in New Issue
Block a user