Skip to content

Commit

Permalink
chore: fix failed to parse source map.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 28, 2023
1 parent b899b9c commit 82f1f38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-watch-typeahead": "^2.2.2",
"lerna": "^7.1.3",
"lint-staged": "^13.2.0",
"lerna": "^8.0.0",
"lint-staged": "^15.1.0",
"prettier": "^3.0.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions website/.kktrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export default (conf: Configuration, env: 'development' | 'production', options:
);

conf.module!.exprContextCritical = false;
conf.ignoreWarnings = [{ module: /node_modules[\\/]parse5[\\/]/ }];

if (env === 'production') {
conf.optimization = {
...conf.optimization,
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
"@uiw/react-color-wheel": "2.0.3",
"@uiw/react-drag-event-interactive": "2.0.3",
"@uiw/react-github-corners": "~1.5.3",
"@uiw/react-loader": "~4.21.0",
"@uiw/react-loader": "^4.22.2",
"@uiw/react-markdown-preview-example": "^2.0.0",
"@wcj/dark-mode": "^1.0.14",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-router-dom": "~6.14.0"
"react-router-dom": "^6.20.0"
},
"devDependencies": {
"@kkt/less-modules": "^7.2.0",
Expand Down

0 comments on commit 82f1f38

Please sign in to comment.