tweak CI detect on frontend

This commit is contained in:
Aleksey Gurianov
2018-07-11 22:44:13 +04:00
parent 42b9baf0f3
commit 25c75011f4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ ARG CI
RUN apk add --no-cache --update git
ADD web/package.json /srv/web/package.json
ADD web/package-lock.json /srv/web/package-lock.json
RUN cd /srv/web && npm ci
RUN cd /srv/web && CI=true npm ci
FROM node:10.6-alpine as build-frontend
+1 -1
View File
@@ -125,7 +125,7 @@ module.exports = {
}),
new webpack.optimize.ModuleConcatenationPlugin(),
...(env === 'production' ? [new webpack.optimize.UglifyJsPlugin()] : []),
...(process.env.CI === 'true'
...(process.env.CI
? []
: [
new BundleAnalyze({