Skip to content

Commit 0315b7c

Browse files
committed
Removed source maps from production builds
1 parent 38b926a commit 0315b7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/master-deployment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Cypress run
3030
uses: cypress-io/github-action@v2
3131
with:
32-
build: yarn run build
32+
build: PRODUCTION=true && yarn run build
3333
start: yarn run dev
3434
wait-on: 'http://localhost:3000'
3535
# build-s3:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY ./package.json /usr/local/src/neodash/package.json
1313

1414
RUN yarn install
1515
COPY ./ /usr/local/src/neodash
16-
RUN yarn run build
16+
RUN PRODUCTION=true && yarn run build
1717

1818
# production stage
1919
FROM nginx:alpine AS neodash

0 commit comments

Comments
 (0)