Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I preserve comments in css and javascript after "npm run build" #681

Open
wpt00ls opened this issue Mar 19, 2024 · 0 comments
Open

Comments

@wpt00ls
Copy link

wpt00ls commented Mar 19, 2024

Problem Description

the styles/style.min.css and scripts/frontend-bundle.min file produced by running npm run build command on the cli, doesn't preserve any comments (/** My css/javascript comment **/) that are present in the respective source files of the divi module. I need the comments in the compiled css/js for an internal process we run.

Do I need to add any settings to the .env file? Please advice.

Kind Regards,

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

No branches or pull requests

1 participant