feat: configure MiniCssExtractPlugin for production environment in webpack by Yukaii · Pull Request #1897 · hackmdio/codimd
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 1.1k
Merged
Conversation
…bpack Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
Yukaii
force-pushed
the
bugfix/dev-1882-fix-css-content-hash
branch
from
7b7c733 to
c7b615d
Compare
jackycute
requested a review
from Copilot
Copilot AI reviewed Apr 18, 2025
Copy link Copy Markdown
Contributor
Copilot
AI
left a comment
Copilot AI left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR configures the MiniCssExtractPlugin in the webpack configuration to use production-specific asset naming with content hashing.
- Added conditional configuration for MiniCssExtractPlugin based on NODE_ENV
- Updated filename and chunkFilename patterns in production builds
Files not reviewed (1)
- package.json: Language not supported
jackycute
requested a review
from stanley2058
stanley2058 approved these changes Apr 18, 2025
Yukaii
added this to the
2.6.0 milestone
Yukaii
deleted the
bugfix/dev-1882-fix-css-content-hash
branch
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