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

Remove reseting scriptLoaderResources per compilation #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ben-Ho
Copy link

@Ben-Ho Ben-Ho commented Feb 6, 2023

In rare cases, not yet known when exactly, it seems MiniCssExtractPlugin.loader does trigger additional compilations resulting in reseting this.scriptLoaderResources preventing this.findRawResources to behave correctly. (.indexOf === -1 and therefore module.kwfParseRaw is not set)

Note: problem in upgraded project from kwf 3.11 to 5.3. phg

In rare cases, not yet known when exactly, it seems
MiniCssExtractPlugin.loader does trigger additional compilations
resulting in reseting this.scriptLoaderResources preventing
this.findRawResources to behave correctly. (.indexOf === -1 and
therefore module.kwfParseRaw is not set)

Note: problem in upgraded project from kwf 3.11 to 5.3. phg
@Ben-Ho Ben-Ho requested a review from kaufmo February 6, 2023 11:00
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.

1 participant