1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Remove raw-loader dependency (#15112)

Webpack now includes this functionality, allowing us to drop this
now-deprecated dependency.

Ref: https://webpack.js.org/guides/asset-modules/
Ref: https://webpack.js.org/loaders/raw-loader/
This commit is contained in:
silverwind
2021-03-22 23:10:09 +01:00
committed by GitHub
parent dfb3e50dce
commit 405969c541
3 changed files with 1 additions and 37 deletions

View File

@@ -207,11 +207,7 @@ module.exports = {
{
test: /\.svg$/,
include: resolve(__dirname, 'public/img/svg'),
use: [
{
loader: 'raw-loader',
},
],
type: 'asset/source',
},
{
test: /\.(ttf|woff2?)$/,