Skip to content

Commit

Permalink
build(webpack.config.js): add env-expect
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Jan 5, 2021
1 parent c755631 commit 0f401ff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// This webpack config is used to transpile src to dist, compile externals, etc

const debug = require('debug')(`${require('./package.json').name}:webpack-config`);
const { verifyEnvironment } = require('./env-expect');
const { config: populateEnv } = require('dotenv');

populateEnv();
verifyEnvironment();

module.exports = {
name: 'main',
Expand Down

0 comments on commit 0f401ff

Please sign in to comment.