Skip to content

fix(#5345): remove cross-env dependency and NODE_ENV=development#5362

Open
SteKoe wants to merge 1 commit into
masterfrom
fix/5345-postcss-error-in-browser
Open

fix(#5345): remove cross-env dependency and NODE_ENV=development#5362
SteKoe wants to merge 1 commit into
masterfrom
fix/5345-postcss-error-in-browser

Conversation

@SteKoe
Copy link
Copy Markdown
Contributor

@SteKoe SteKoe commented May 14, 2026

This pull request removes the dependency on the cross-env package from the spring-boot-admin-server-ui project. The build scripts have been updated to no longer require cross-env, simplifying the project's development dependencies and scripts.

Dependency cleanup:

  • Removed cross-env and its related dependency @epic-web/invariant from both package.json and package-lock.json, reducing the number of development dependencies. [1] [2] [3] [4]

Build script updates:

  • Updated the build:dev and build:watch scripts in package.json to set the build mode directly, eliminating the need for cross-env to set environment variables.

closes #5345

@SteKoe SteKoe requested a review from a team as a code owner May 14, 2026 21:05
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.

Bug: UI doesn't run locally after Vite major update

1 participant