From bf96960fbac5c8b0f0b98d5e05d6571d399fa909 Mon Sep 17 00:00:00 2001 From: dvvanessastoiber Date: Thu, 29 Feb 2024 13:11:07 +0100 Subject: [PATCH 1/3] prepare next dev version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 363a820..7c30442 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "visyn_scripts", "description": "", - "version": "8.0.0", + "version": "8.0.1-SNAPSHOT", "author": { "name": "datavisyn GmbH", "email": "contact@datavisyn.io", From 5c43849bd5298782f74176a29a3aab0fcb1bb3ae Mon Sep 17 00:00:00 2001 From: Michael Puehringer Date: Fri, 1 Mar 2024 00:18:34 +0100 Subject: [PATCH 2/3] fix: disable compress in swc minify --- config/rspack.config.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/config/rspack.config.js b/config/rspack.config.js index 231c474..fea1669 100644 --- a/config/rspack.config.js +++ b/config/rspack.config.js @@ -7,7 +7,9 @@ const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); const dotenv = require('dotenv'); const { DotenvPlugin } = require('rspack-plugin-dotenv'); const dotenvExpand = require('dotenv-expand'); -const { CopyRspackPlugin, DefinePlugin } = require('@rspack/core'); +const { + CopyRspackPlugin, DefinePlugin, SwcJsMinimizerRspackPlugin, SwcCssMinimizerRspackPlugin, +} = require('@rspack/core'); const ReactRefreshPlugin = require('@rspack/plugin-react-refresh'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const { RsdoctorRspackPlugin } = require('@rsdoctor/rspack-plugin'); @@ -185,6 +187,16 @@ module.exports = (webpackEnv, argv) => { fs: false, }, }, + optimization: { + minimizer: [ + // Disable compress as it has some bugs, i.e. when using arquero#from it fails if no names are passed. + // See https://github.com/web-infra-dev/rspack/issues/4980 for a discussion. + new SwcJsMinimizerRspackPlugin({ + compress: false, + }), + new SwcCssMinimizerRspackPlugin(), + ], + }, module: { rules: [ { From b291336b34adb67532fa5fe69550392979c47f13 Mon Sep 17 00:00:00 2001 From: dvvanessastoiber Date: Fri, 1 Mar 2024 08:28:36 +0100 Subject: [PATCH 3/3] prepare release 8.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7c30442..5d18728 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "visyn_scripts", "description": "", - "version": "8.0.1-SNAPSHOT", + "version": "8.0.1", "author": { "name": "datavisyn GmbH", "email": "contact@datavisyn.io",