-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
[feature-request] Parsing a number in query #173
Comments
Sorry, this utils only for compatibility with webpack@4, for webpack@5 it was deprecated, because |
Anyway this we should solve it on css-loader side |
Using |
Don't you think this concerns |
@cdoublev we should allow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I would like to sugget parsing a
Number
in the value of a query parameter used to set options of a loader.loader-utils/lib/parseQuery.js
Line 39 in d9f4e23
Is there a reason to parse a
Boolean
but not aNumber
? Performances?Eg.
css-loader?importLoaders=true
works but notcss-loader?importLoaders=1
.Note that having
css-loader?importLoaders=true
not throwing an error is also confusing, since thecss-loader
doc states that only aNumber
is expected. Please feel free to ask me to create a new issue in the related repository.The text was updated successfully, but these errors were encountered: