mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix a webpack issue that could cause the Query Tool to fail to render. Fixes #3679
This commit is contained in:
committed by
Dave Page
parent
2817ec438a
commit
1283c22bb9
@@ -19,7 +19,10 @@ const webpackShimConfig = require('./webpack.shim');
|
||||
const PRODUCTION = process.env.NODE_ENV === 'production';
|
||||
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||
const extractStyle = new ExtractTextPlugin('[name].css');
|
||||
const extractStyle = new ExtractTextPlugin({
|
||||
filename: '[name].css',
|
||||
allChunks: true,
|
||||
});
|
||||
const envType = PRODUCTION ? 'production': 'development';
|
||||
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user