This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-env node */ | |
// Import file, libraries and plugins | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const sourceDir = __dirname + '/pgadmin/static'; | |
// webpack.shim.js contains path references for resolve > alias configuration | |
// and other util function used in CommonsChunksPlugin. | |
const webpackShimConfig = require('./webpack.shim'); | |
const PRODUCTION = process.env.NODE_ENV === 'production'; | |
const envType = PRODUCTION ? 'prod': 'dev'; |