Skip to content

Commit 481e664

Browse files
committed
website(deps): update dependency @uiw/react-markdown-preview-example to v2 #48
1 parent e750f70 commit 481e664

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

test/switch.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ it('<Case />', () => {
2929
expect(container.innerHTML).toEqual('preschool');
3030
});
3131

32-
it('<Case />', () => {
32+
it('<Case /> 1', () => {
3333
const { container } = render(
3434
<Switch>
3535
<Case condition={true}>preschool</Case>
@@ -40,7 +40,7 @@ it('<Case />', () => {
4040
expect(container.innerHTML).toEqual('preschool');
4141
});
4242

43-
it('<Case />', () => {
43+
it('<Case /> 2', () => {
4444
const { container } = render(
4545
<Switch>
4646
<Case condition={false}>preschool</Case>

www/.kktrc.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ export default (conf: WebpackConfiguration, env: 'production' | 'development', o
1616
}),
1717
);
1818
conf.module!.exprContextCritical = false;
19+
conf.ignoreWarnings = [
20+
{
21+
module: /node_modules[\\/]parse5[\\/]/,
22+
},
23+
];
1924
if (env === 'production') {
2025
conf.output = { ...conf.output, publicPath: './' };
2126
conf.optimization = {

www/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"map": "source-map-explorer build/static/js/*.js --html build/website-result.html"
99
},
1010
"dependencies": {
11-
"@uiw/react-markdown-preview-example": "^1.3.1",
11+
"@uiw/react-markdown-preview-example": "^2.1.4",
1212
"@uiw/react-only-when": "2.0.3",
1313
"react": "^18.2.0",
1414
"react-dom": "^18.2.0"

0 commit comments

Comments
 (0)