Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pass proper context param to runtime generator
BREAKING CHANGE: Possible breaks third-party runtime generators. Earlier `context` param was containing _path to compilation root context_, e.g. folder where webpack compilation occurs. This is wrong behaviour, because meaning of this param is a _folder where svg image is located_. So it was changed in this commit. If your custom runtime generator breaks after this update use `loaderContext.rootContext` option instead of `context`. Closes: #186
- Loading branch information