Skip to content

Commit

Permalink
Cleanup dependencies
Browse files Browse the repository at this point in the history
Removes unused url-loader and file-loader.
Adds prism-react-renderer as direct deps to support
strict package manages without hoisting.
  • Loading branch information
fflaten committed Oct 20, 2023
1 parent a576505 commit 72bc533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 0 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* Please note that the syntax highlighting theme CANNOT be configured here,
* it MUST be configured in swizzled shadow component `/src/theme/index.js`
*/
const { themes } = require('prism-react-renderer');

module.exports = {
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
"@mdx-js/react": "^2.3.0",
"@tanstack/react-table": "^8.10.0",
"clsx": "^1.2.1",
"file-loader": "^6.2.0",
"prism-react-renderer": "^2.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"url-loader": "^4.1.1"
"react-dom": "^18.0.0"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 72bc533

Please sign in to comment.