feat: configure MiniCssExtractPlugin for production environment in webpack by Yukaii · Pull Request #1897 · hackmdio/codimd

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@Yukaii

Copy link Copy Markdown

Member

@Yukaii Yukaii commented

Mar 20, 2025

No description provided.

…bpack

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>

@Yukaii Yukaii force-pushed the bugfix/dev-1882-fix-css-content-hash branch from 7b7c733 to c7b615d Compare

March 20, 2025 05:57

@jackycute jackycute requested a review from Copilot

April 18, 2025 02:59
Copy link Copy Markdown

Contributor

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 jackycute requested a review from stanley2058

April 18, 2025 02:59

@Yukaii Yukaii added this to the 2.6.0 milestone

May 8, 2025

@Yukaii Yukaii merged commit 56fd0c1 into develop

May 15, 2025

7 checks passed

@Yukaii Yukaii deleted the bugfix/dev-1882-fix-css-content-hash branch

May 15, 2025 05:59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

@stanley2058 stanley2058 stanley2058 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.6.0

Development

Successfully merging this pull request may close these issues.

3 participants

@Yukaii @stanley2058