Commit Graph

10 Commits

Author SHA1 Message Date
recanman
c5c2e0f6e1 chore: add donation qr classes to webpack config 2024-10-05 00:47:15 -07:00
recanman
e79b7a8de5 build: fix webpack config for purgecss 2024-10-04 23:35:16 -07:00
Kumi
58c376da3c
Revert "chore: optimize CSS imports and PurgeCSS config"
This reverts commit 035da04bf8.
2024-09-04 08:10:41 +02:00
Kumi
2de9892040
Revert "feat(build): optimize output with minification and compression"
This reverts commit 83a23fc66e.
2024-09-04 08:10:17 +02:00
Kumi
83a23fc66e
feat(build): optimize output with minification and compression
Switched to 'production' mode in webpack to enable optimizations. Integrated 'css-minimizer-webpack-plugin' and 'terser-webpack-plugin' for CSS and JS minification, respectively. Updated 'mini-css-extract-plugin' and added various dev dependencies to support new build processes. Adjusted output filenames and resolved dependencies to latest versions.

These changes reduce the bundle size and improve load times, enhancing overall performance.
2024-09-04 08:07:58 +02:00
Kumi
035da04bf8
chore: optimize CSS imports and PurgeCSS config
Switched to non-minified Bootstrap CSS for improved readability during development. Updated Webpack MiniCssExtractPlugin filename pattern to handle multiple CSS outputs more gracefully. Enhanced PurgeCSSPlugin configuration by incorporating JS paths and limiting removal to specific Bootstrap classes to avoid issues with dynamic class usage.
2024-09-04 08:03:45 +02:00
Kumi
227d56a2bd
feat: enhance accessibility and UI feedback
Added a noscript alert message for users with JavaScript disabled, informing them about the limitations and manual controls available. Improved UI spacing with an additional margin in the conversion button section. Adjusted CSS padding for better visual alignment. Expanded Webpack safelist to include alert classes for proper styling.
2024-08-10 16:43:57 +02:00
Kumi
e97805d379
feat: add bidirectional XMR to fiat conversion
Introduced bidirectional conversion functionality for XMR to fiat calculations. Added form elements and event listeners to handle user inputs and conversion direction. Enhanced URL and metadata processing to be dynamic based on protocol. Updated UI with conversion buttons for a better user experience. Safelisted new CSS classes in webpack configuration.
2024-08-10 16:23:52 +02:00
Kumi
3a30c11ca6
feat: integrate PurgeCSS with Webpack and CSS handling
Added `mini-css-extract-plugin`, `css-loader`, and `purgecss-webpack-plugin` to handle CSS extraction and purification in the Webpack build process. Removed the old `purgecss.config.js` as its functionality has been moved to the Webpack configuration. This change aims to streamline the build process and ensure unused CSS is effectively removed, optimizing the final output.
2024-08-08 08:43:32 +02:00
thecashewtrader
eb0cf80b42 add webpack for lean bootstrap js 2024-05-24 20:18:12 +05:30