Skip to content

Commit

Permalink
fix(image-config-webpack-plugin): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ernscht committed Mar 3, 2021
1 parent 4b3584b commit 10a3dc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions packages/image-config-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@
"webpack": ">=4.36.0"
},
"dependencies": {
"cache-loader": "^1.2.2",
"file-loader": "^2.0.0",
"url-loader": "^1.0.1"
"file-loader": "^6.2.0",
"url-loader": "^4.1.1"
},
"devDependencies": {
"@types/jest": "23.3.13",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('ImageConfigWebpackPlugin inside webpack context', () => {
const generatedFiles = glob.sync('./fixtures/dist/**/*.png', {
cwd: __dirname,
});
expect(generatedFiles).toEqual(['./fixtures/dist/static/media/webpack-logo.81da10d7.png']);
expect(generatedFiles).toEqual(['./fixtures/dist/static/media/webpack-logo.3b7bf087.png']);
done();
});
});
Expand All @@ -128,7 +128,7 @@ describe('ImageConfigWebpackPlugin inside webpack context', () => {
const generatedFiles = glob.sync('./fixtures/dist/**/*.png', {
cwd: __dirname,
});
expect(generatedFiles).toEqual(['./fixtures/dist/static/media/webpack-logo.81da10d7.png']);
expect(generatedFiles).toEqual(['./fixtures/dist/static/media/webpack-logo.3b7bf087.png']);
done();
});
});
Expand Down

0 comments on commit 10a3dc3

Please sign in to comment.