Duplicates
Latest version
Summary 💡
Description
The compiled JS files in 'use server' builds contain absolute local machine paths (e.g., /home/user/project/src/...). This may leak sensitive information about the development environment and poses potential security risks if deployed publicly.
Steps to Reproduce
Run npm run build with default configuration.
Check generated .js files – absolute paths are visible.
Expected Behavior
Sensitive local paths should be hidden or replaced with anonymized placeholders (e.g., XXX/src/...).
Examples 🌈
No response
Motivation 🔦
No response