Skip to content

Commit

Permalink
Merge pull request #26941 from brave/remove-url-loader
Browse files Browse the repository at this point in the history
[Webpack]: Remove unused url-loader
  • Loading branch information
bsclifton authored Dec 10, 2024
2 parents f42aad3 + f8a490c commit 5bb93f9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 49 deletions.
9 changes: 0 additions & 9 deletions components/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,6 @@ module.exports = async function (env, argv) {
configFile: tsConfigPath
}
},
// Loads font files for Font Awesome
{
test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'url-loader',
options: {
limit: 13000,
mimetype: 'application/font-woff'
}
},
{
test: /\.(ttf|eot|ico|svg|png|jpg|jpeg|gif|webp)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: 'file-loader'
Expand Down
39 changes: 0 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@
"typescript": "4.9.4",
"typescript-plugin-css-modules": "5.1.0",
"typescript-plugin-styled-components": "2.0.0",
"url-loader": "4.1.1",
"webpack": "5.94.0",
"webpack-cli": "5.1.4"
},
Expand Down

0 comments on commit 5bb93f9

Please sign in to comment.