thread-loader
thread-loader copied to clipboard
feat: support function for loader sunch as css-loader #58
This PR contains a:
- [x] bugfix
- [ ] new feature
- [ ] code refactor
- [ ] test update
- [ ] typo fix
- [ ] metadata update
Motivation / Use-Case
#58
function options like getLocalIdent cannot passed to the css-loader,so i need this function without scoped var.
Breaking Changes
Additional Info
The committers are authorized under a signed CLA.
- :white_check_mark: lhuanyu (fd8992a3f85858ec8051a88be9ab5a0e5e7b851b)
Hello, this issue is a common case
Maybe we should apply this logic for all unknown functions?
The functions with scope vars will case an error, so i take a white list of function-name.