Do you want to request a feature, report a bug or ask a question?
Request a feature
What is the current behavior?
The total mount time is too long when there have many svg files.
What is the expected behavior?
Use macrotask to improve mount performance
If this is a feature request, what is motivation or use case for changing the behavior?
Long task will block browser interaction if mount take long time.
Please tell us about your environment:
Node.js version: v14.15
webpack version: 4.44.2
svg-sprite-loader version: 5.1.1
OS type & version: Window 10
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
It seems that I could override this line with window.setTimeout(function() { sprite.add(symbol) }) on config.runtimeGenerator to improve mount performance.
Do you want to request a feature, report a bug or ask a question?
Request a feature
What is the current behavior?
The total
mount
time is too long when there have many svg files.What is the expected behavior?
Use macrotask to improve
mount
performanceIf this is a feature request, what is motivation or use case for changing the behavior?
Long task will block browser interaction if
mount
take long time.Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)