From 1283c22bb94aeea701754adbafae13de9c0b4449 Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Thu, 3 Jan 2019 14:43:45 +0000 Subject: [PATCH] Fix a webpack issue that could cause the Query Tool to fail to render. Fixes #3679 --- docs/en_US/release_notes_3_7.rst | 1 + web/webpack.config.js | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/en_US/release_notes_3_7.rst b/docs/en_US/release_notes_3_7.rst index 6af835ed6..38ea7671a 100644 --- a/docs/en_US/release_notes_3_7.rst +++ b/docs/en_US/release_notes_3_7.rst @@ -22,6 +22,7 @@ Bug fixes | `Bug #3559 `_ - Further improvements to treeview restoration. | `Bug #3599 `_ - Run Postfix in the container build so passwords can be reset etc. | `Bug #3619 `_ - Add titles to the code areas of the Query Tool and Debugger to ensure that panels can be re-docked within them. +| `Bug #3679 `_ - Fix a webpack issue that could cause the Query Tool to fail to render. | `Bug #3711 `_ - Fix an encoding issue in the query tool. | `Bug #3726 `_ - Include the WHERE clause on EXCLUDE constraints in RE-SQL. | `Bug #3753 `_ - Fix an issue when user define Cast from smallint->text is created. diff --git a/web/webpack.config.js b/web/webpack.config.js index 2e214fc71..10ae99693 100644 --- a/web/webpack.config.js +++ b/web/webpack.config.js @@ -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');