fix(build): restore tsc compat after vitest bundler type drift
This commit is contained in:
@@ -64,8 +64,8 @@ ENV DISABLE_TOOLS=$DISABLE_TOOLS
|
|||||||
|
|
||||||
ENV NODE_OPTIONS="--max-old-space-size=3072"
|
ENV NODE_OPTIONS="--max-old-space-size=3072"
|
||||||
|
|
||||||
RUN --mount=type=secret,id=VITE_CORS_PROXY_URL \
|
RUN --mount=type=secret,id=VITE_CORS_PROXY_URL,required=false \
|
||||||
--mount=type=secret,id=VITE_CORS_PROXY_SECRET \
|
--mount=type=secret,id=VITE_CORS_PROXY_SECRET,required=false \
|
||||||
VITE_CORS_PROXY_URL=$(cat /run/secrets/VITE_CORS_PROXY_URL 2>/dev/null || echo "") \
|
VITE_CORS_PROXY_URL=$(cat /run/secrets/VITE_CORS_PROXY_URL 2>/dev/null || echo "") \
|
||||||
VITE_CORS_PROXY_SECRET=$(cat /run/secrets/VITE_CORS_PROXY_SECRET 2>/dev/null || echo "") \
|
VITE_CORS_PROXY_SECRET=$(cat /run/secrets/VITE_CORS_PROXY_SECRET 2>/dev/null || echo "") \
|
||||||
npm run build:with-docs
|
npm run build:with-docs
|
||||||
|
|||||||
@@ -57,8 +57,8 @@ ENV VITE_FOOTER_TEXT=$VITE_FOOTER_TEXT
|
|||||||
|
|
||||||
ENV NODE_OPTIONS="--max-old-space-size=3072"
|
ENV NODE_OPTIONS="--max-old-space-size=3072"
|
||||||
|
|
||||||
RUN --mount=type=secret,id=VITE_CORS_PROXY_URL \
|
RUN --mount=type=secret,id=VITE_CORS_PROXY_URL,required=false \
|
||||||
--mount=type=secret,id=VITE_CORS_PROXY_SECRET \
|
--mount=type=secret,id=VITE_CORS_PROXY_SECRET,required=false \
|
||||||
VITE_CORS_PROXY_URL=$(cat /run/secrets/VITE_CORS_PROXY_URL 2>/dev/null || echo "") \
|
VITE_CORS_PROXY_URL=$(cat /run/secrets/VITE_CORS_PROXY_URL 2>/dev/null || echo "") \
|
||||||
VITE_CORS_PROXY_SECRET=$(cat /run/secrets/VITE_CORS_PROXY_SECRET 2>/dev/null || echo "") \
|
VITE_CORS_PROXY_SECRET=$(cat /run/secrets/VITE_CORS_PROXY_SECRET 2>/dev/null || echo "") \
|
||||||
npm run build:with-docs
|
npm run build:with-docs
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { defineConfig, Plugin } from 'vitest/config';
|
import { defineConfig } from 'vitest/config';
|
||||||
import type { IncomingMessage, ServerResponse } from 'http';
|
import type { IncomingMessage, ServerResponse } from 'http';
|
||||||
import http from 'http';
|
import http from 'http';
|
||||||
import https from 'https';
|
import https from 'https';
|
||||||
import type { Connect } from 'vite';
|
import type { Connect, Plugin } from 'vite';
|
||||||
// import basicSsl from '@vitejs/plugin-basic-ssl';
|
// import basicSsl from '@vitejs/plugin-basic-ssl';
|
||||||
import tailwindcss from '@tailwindcss/vite';
|
import tailwindcss from '@tailwindcss/vite';
|
||||||
import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
||||||
|
|||||||
Reference in New Issue
Block a user