Skip to content

Commit

Permalink
build(examples): upgrade devDependencies in webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Oct 29, 2023
1 parent ef8cafb commit 1fcb059
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"html-react-parser": "../../",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}
8 changes: 4 additions & 4 deletions examples/webpack/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ReactDOM from 'react-dom/client';
import { createRoot } from 'react-dom/client';
import parse from 'html-react-parser';

ReactDOM.createRoot(document.getElementById('root')).render(
parse('<h1>HTMLReactParser loaded with Webpack</h1>')
);
const root = createRoot(document.getElementById('root'));

root.render(parse('<h1>HTMLReactParser loaded with Webpack</h1>'));

0 comments on commit 1fcb059

Please sign in to comment.