-
Notifications
You must be signed in to change notification settings - Fork 59
fix: loaderUtils.parseQuery()
deprecation warning (loader-utils
)
#57
Conversation
Add idPrefix option
add missing idPrefix as default value to config
Multiple classses in class attribute not prefixed when using classPrefix
multiple classes in class string, fix for Issue webpack-contrib#39
For CSS properties that contain '.' in the value.
multiple classes in class string, fix issue webpack-contrib#39
add warnTags and warnTagAttrs
[fix] don't transform webpack2 query objects
Add license file
Jay Jaeho Lee, alok pepakayala, = seem not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
.travis.yml
Outdated
@@ -0,0 +1,6 @@ | |||
sudo: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't add .travis.yml
in this PR, we use webpack-defaults
for all repositories https://github.com/webpack-contrib/webpack-defaults
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
index.js
Outdated
@@ -59,10 +59,7 @@ function getExtractedSVG(svgStr, query) { | |||
function SVGInlineLoader(content) { | |||
this.cacheable && this.cacheable(); | |||
this.value = content; | |||
// Configuration | |||
var query = loaderUtils.parseQuery(this.query); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should still be required. var query = loaderUtils.getOptions(this) || {};
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const options = loaderUtils.getOptions(this)
&& global rename query
=> options
index.js
Outdated
@@ -59,10 +59,7 @@ function getExtractedSVG(svgStr, query) { | |||
function SVGInlineLoader(content) { | |||
this.cacheable && this.cacheable(); | |||
this.value = content; | |||
// Configuration | |||
var query = loaderUtils.parseQuery(this.query); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const options = loaderUtils.getOptions(this)
&& global rename query
=> options
loaderUtils.parseQuery()
deprecation warning (loader-utils
)
I checked it works :) |
This is going to need to be rebased |
is there any update on this? |
@le0m - I'm going to take care of this in a separate PR as the loader utils change is not backwards compatible. With Webpack 4 on the way, we are a bit buried at the moment, i'll try and get a beta build that handles the deprecation warning & Webpack 4 support before the end of the week. |
Yeah! Thank you. @jhnns, I supposed that there will be a release soon on NPM registry? I don't see it on NPM yet. |
@jhnns, I still don't see the release on npmjs |
Special fix for the latest version of the loader-utils(^1.1.0)
Removes warning when transpiling the webpack