-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I'm using Webpack 5 with webpack-merge so I can have separate config files for prod and dev with a common file for settings that both prod and dev share.
In my production file I'm using mini-css-extract-plugin to create a final css file rather than have them loaded in my bundle.js file.
Does anyone know what I'm doing wrong here? It's only a small thing but it's annoying me that it isn't working as expected and not all of the CSS in my final file is minified. Here is the git repo if that helps.
I did actually get it working in the end using css-minimizer-webpack-plugin but your solution is much better since it saves adding an extra rule to my webpack config file and saves me an extra npm package install too.