Skip to content

Commit 3420caa

Browse files
feat(docs-framework): Add support for next subpaths in react-charts (#4245)
1 parent 1b613a9 commit 3420caa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/documentation-framework/scripts/md/typecheck.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const reactStyles = globSync(path.join(reactStylesDir, 'css/**/*.d.ts'))
3737
const defaultImports = [
3838
'react',
3939
'@reach/router',
40+
'@patternfly/react-charts/next',
4041
'@patternfly/react-core/next',
4142
'@patternfly/react-core/deprecated',
4243
'@patternfly/react-table/deprecated',

packages/documentation-framework/scripts/webpack/prerender.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ async function prerender(url) {
3131
// For react-consoles
3232
createElementNS: () => ({
3333
download: {}
34-
})
34+
}),
35+
documentElement: { style: {} }
3536
};
3637
global.self = {
3738
// For react-console

0 commit comments

Comments
 (0)