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 63e96cb commit c251afdCopy full SHA for c251afd
test/helpers/readAsset.js
@@ -10,7 +10,7 @@ export default (asset, compiler, stats) => {
10
const queryStringIdx = targetFile.indexOf("?");
11
12
if (queryStringIdx >= 0) {
13
- targetFile = targetFile.substr(0, queryStringIdx);
+ targetFile = targetFile.slice(0, queryStringIdx);
14
}
15
16
try {
0 commit comments