We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525b28f commit a2cf6c6Copy full SHA for a2cf6c6
index.js
@@ -7,13 +7,5 @@ module.exports = function (source) {
7
.replace(/\u2028/g, '\\u2028')
8
.replace(/\u2029/g, '\\u2029');
9
10
- if (this.version && this.version >= 2) {
11
- this.emitWarning(`⚠️ JSON Loader\n
12
-It seems you're using webpack >= v2.0.0, which includes native support for JSON.
13
-Please remove this loader from webpack.config.js as it isn't needed anymore and
14
-is deprecated. See the v1.0.0 -> v2.0.0 migration guide for more information
15
-(https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore)\n`)
16
- }
17
-
18
return `module.exports = ${value}`;
19
}
0 commit comments