Skip to content

Remove reseting scriptLoaderResources per compilation#6

Open
Ben-Ho wants to merge 1 commit intomasterfrom
removeResetList
Open

Remove reseting scriptLoaderResources per compilation#6
Ben-Ho wants to merge 1 commit intomasterfrom
removeResetList

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