From 6ce94c29e66bfbbdd88b51f41be99b955dfc9be6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 31 Oct 2024 08:57:40 +0100 Subject: [PATCH] Fix the mobile and iframe API production build --- buildtools/webpack.prod.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/buildtools/webpack.prod.js b/buildtools/webpack.prod.js index e2cfd2224ece..db9faf3f7156 100644 --- a/buildtools/webpack.prod.js +++ b/buildtools/webpack.prod.js @@ -19,7 +19,6 @@ // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -const webpack = require('webpack'); const TerserPlugin = require('terser-webpack-plugin'); module.exports = function () { @@ -30,15 +29,11 @@ module.exports = function () { filename: '[name]-[chunkhash:6].js', assetModuleFilename: '[name]-[contenthash:6][ext]', }, - plugins: [new webpack.optimize.ModuleConcatenationPlugin()], optimization: { minimizer: [ new TerserPlugin({ exclude: /.*mapillary\.js$/, parallel: true, - terserOptions: { - compress: false, - }, }), ], },