Skip to content

Conversation

Copy link

Copilot AI commented Dec 16, 2025

Fixed build errors caused by deprecated webpack CLI v6 and webpack-dev-server v5 flags in the grid-lite styling-custom-theme sample.

Changes

  • Webpack CLI v6 compatibility

    • Updated --env.KEY=value--env KEY=value syntax
    • Removed deprecated --display-error-details flag
  • Webpack-dev-server v5 compatibility

    • Replaced --content-base--static flag

Example

// Before
"build:prod": "webpack --env.NODE_ENV=production --display-error-details --bail"

// After  
"build:prod": "webpack --env NODE_ENV=production --bail"

The sample now builds successfully with SCSS processing via sass-loader working as intended.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits December 16, 2025 15:10
…ng sample

Co-authored-by: desig9stein <21260963+desig9stein@users.noreply.github.com>
…-dev-server v5

Co-authored-by: desig9stein <21260963+desig9stein@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix build error in grid-lite component fix: update webpack CLI flags for v6/v5 compatibility in grid-lite styling sample Dec 16, 2025
Copilot AI requested a review from desig9stein December 16, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants