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

fix: v4.2.15 breaks building docs #260

Merged
merged 1 commit into from
Nov 7, 2023
Merged

fix: v4.2.15 breaks building docs #260

merged 1 commit into from
Nov 7, 2023

Conversation

ankitskvmdam
Copy link
Owner

@ankitskvmdam ankitskvmdam commented Nov 7, 2023

In v4.2.15 we have added a feature to include scripts and styles only in target files. In order to do so we are looping through this.includeScript and this.includeCss. However we are not checking whether these are defined.

So, for users who don't want to include any script/style above mentioned variables are undefined for them, hence causing the build to fail because undefined is not iterable.

This PR fixes this issue, as now we are checking whether these variables are defined.

fixes: #259

In v4.2.15 we have added a feature to include scripts and styles only in
target files. In order to do so we are looping through `this.includeScript`
and `this.includeCss`. However we are not checking whether these are
defined.

So, for users who don't want to include any script/style above mentioned
variables are undefined for then, hence cause the build to fail because
undefined is not iterable.

This PR fixes this issue, as now we are checking whether these variables
are defined.

fixes: #259
@ankitskvmdam ankitskvmdam merged commit be34c4b into master Nov 7, 2023
5 checks passed
@ankitskvmdam ankitskvmdam deleted the fix/v4.2.15 branch November 7, 2023 19:30
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.

4.2.15 breaks building docs
1 participant