Skip to content

Commit

Permalink
Use asset modules in react-error-overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
Morten N.O. Henriksen committed Mar 20, 2021
1 parent 613e2a5 commit 952f896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"jest-fetch-mock": "2.1.2",
"object-assign": "4.1.1",
"promise": "8.1.0",
"raw-loader": "^4.0.2",
"react": "^17.0.1",
"react-app-polyfill": "^2.0.0",
"react-dom": "^17.0.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/react-error-overlay/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ module.exports = {
filename: 'index.js',
library: 'ReactErrorOverlay',
libraryTarget: 'umd',
assetModuleFilename: 'assets/[hash][ext][query]',
},
module: {
rules: [
{
test: /iframe-bundle\.js$/,
use: 'raw-loader',
type: 'asset/source',
},
{
test: /\.js$/,
Expand Down

0 comments on commit 952f896

Please sign in to comment.