mirror of
https://github.com/devgg/fonticon.git
synced 2026-08-24 10:13:28 -05:00
Fix loading images with Webpack 5
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
"devDependencies": {
|
||||
"cloudflare-cli": "^4.2.0",
|
||||
"css-loader": "^7.0.0",
|
||||
"file-loader": "^6.2.0",
|
||||
"html-webpack-plugin": "^5.6.0",
|
||||
"style-loader": "^3.3.4",
|
||||
"webpack": "^5.91.0",
|
||||
|
||||
+1
-8
@@ -29,14 +29,7 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
test: /\.(png|jpg|gif)$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
emitFile: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
type: 'asset/resource',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user