Skip to content

Commit

Permalink
fix: remove file-loader in webpack5
Browse files Browse the repository at this point in the history
  • Loading branch information
eonarheim committed Aug 11, 2023
1 parent 4c5b017 commit ce3c16c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 120 deletions.
112 changes: 0 additions & 112 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 @@ -18,7 +18,6 @@
"devDependencies": {
"@excaliburjs/testing": "0.25.0",
"copy-webpack-plugin": "11.0.0",
"file-loader": "6.2.0",
"ts-loader": "9.4.4",
"typescript": "4.5.4",
"webpack": "5.88.2",
Expand Down
8 changes: 1 addition & 7 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ module.exports = {
},
{
test: /\.(png|jpg|bmp|wav|mp3)$/,
use: [{
loader: 'file-loader',
options: {
emitFile: true,
esModule: false
}
}]
type: 'asset/resource'
}
]
}
Expand Down

0 comments on commit ce3c16c

Please sign in to comment.