refactor: optimize webpack configuration#1022
Merged
JuanPabloDiaz merged 1 commit intotech-conferences:mainfrom Jul 9, 2025
Merged
refactor: optimize webpack configuration#1022JuanPabloDiaz merged 1 commit intotech-conferences:mainfrom
JuanPabloDiaz merged 1 commit intotech-conferences:mainfrom
Conversation
- Remove console/debugger dropping in Terser plugin for better debugging - Disable parallel processing in CssMinimizerPlugin to prevent build issues - Remove split chunks and runtime chunk settings to streamline builds - Add namedExport: false to CSS module configurations for consistency - Remove image optimization generator config to simplify asset handling
nimzco
approved these changes
Jul 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR focuses on improving the build process by optimizing webpack configuration settings.
breaking down #1021
This pull request modifies the Webpack configuration to simplify the build process and improve compatibility. Key changes include removing unused optimization settings, updating source map exclusions, and refining CSS module configurations.
Build Process Simplifications:
drop_console,drop_debugger, andpure_funcsoptions from theterserplugin configuration to simplify JavaScript minimization.CssMinimizerPluginconfiguration.splitChunksandruntimeChunksettings to streamline chunk splitting and runtime behavior.Compatibility Improvements:
react-datepickerto thesource-map-loaderexclusion list to address compatibility issues with sourcemaps.CSS Module Refinements:
namedExportin CSS module configurations for both standard CSS and Sass loaders to align with module usage conventions. [1] [2]