Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Apr 18, 2023
1 parent 5862ad6 commit 0111ffb
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3,451 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY ./yarn.lock ./yarn.lock
COPY ./.eslintrc.json ./.eslintrc.json
COPY ./client ./client
RUN yarn install
RUN yarn build
RUN yarn build:client

FROM golang:1.20.2-alpine3.17 as server
WORKDIR /app
Expand Down
26 changes: 15 additions & 11 deletions client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,21 @@ export default defineConfig(({ mode }) => {
plugins: [
react(),
splitVendorChunkPlugin(),
checker({
overlay: {
initialIsOpen: false,
},
typescript: {
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
},
eslint: {
lintCommand: 'eslint "./src/**/*.{ts,tsx}"',
},
}),
...(mode === 'development'
? [
checker({
overlay: {
initialIsOpen: false,
},
typescript: {
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
},
eslint: {
lintCommand: 'eslint "./src/**/*.{ts,tsx}"',
},
}),
]
: []),
],
publicDir: 'public',
resolve: {
Expand Down
Loading

0 comments on commit 0111ffb

Please sign in to comment.