Browse Source

webpack config

master
morethanwords 3 years ago
parent
commit
03f8661184
  1. 2
      webpack.common.js

2
webpack.common.js

@ -11,7 +11,7 @@ const Dotenv = require('dotenv-webpack');
const allowedIPs = ['127.0.0.1']; const allowedIPs = ['127.0.0.1'];
const devMode = process.env.NODE_ENV !== 'production'; const devMode = process.env.NODE_ENV !== 'production';
const useLocal = true; const useLocal = true;
const useLocalNotLocal = true; const useLocalNotLocal = false;
if(devMode) { if(devMode) {
console.log('DEVMODE IS ON!'); console.log('DEVMODE IS ON!');

Loading…
Cancel
Save