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

False by default for asset file for styles #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dpanta94
Copy link
Member

This PR undos that all files should use by default their asset file if present.

Is not that rare naming a js file and css file with the actual same file name e.g. onboarding.js and onboarding.css.

As a result the onboarding.asset.php file would be applicable for both of those files prior this PR.

Resulting, most possibly, in the css file not being enqueued.

Thus the decision to set by default false to using asset file for styles, while keeping it as true for scripts.

@dpanta94 dpanta94 requested a review from borkweb December 17, 2024 18:19
@dpanta94 dpanta94 self-assigned this Dec 17, 2024
@dpanta94 dpanta94 added bug Something isn't working enhancement New feature or request labels Dec 17, 2024
@dpanta94 dpanta94 requested a review from lucatume December 17, 2024 18:19
Copy link
Contributor

@lucatume lucatume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants