Skip to content

Commit

Permalink
fix(webpack.config.js): call dotenv properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Feb 14, 2021
1 parent 8daded2 commit 22a8424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ try {
debug(`env support disabled; reason: ${e}`);
}

const dotenv = enableDotenvSupport ? require('dotenv')() : null;
const dotenv = enableDotenvSupport ? require('dotenv').config() : null;

debug(
...(enableDotenvSupport
Expand Down

0 comments on commit 22a8424

Please sign in to comment.