Skip to content

Commit

Permalink
ci: fix prod
Browse files Browse the repository at this point in the history
  • Loading branch information
vagusX committed Jul 24, 2023
1 parent 2a35a75 commit 40da4bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ const pkg = require('./package.json');
const {
SERVER_HOST,
NODE_ENV,
npm_lifecycle_event,
} = process.env;

const isProd = npm_lifecycle_event === 'build';
const isProd = NODE_ENV === 'production';

const fileExtensions = [
'jpg', 'jpeg', 'png', 'gif',
Expand Down

0 comments on commit 40da4bd

Please sign in to comment.