We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 938a43d commit 4ef6cfcCopy full SHA for 4ef6cfc
website/docusaurus.config.ts
@@ -35,16 +35,19 @@ const config: Config = {
35
},
36
37
],
38
- [
39
- transpileCodeblocks,
40
- {
41
- compilerSettings: {
42
- tsconfig: resolve(__dirname, '../docs/tsconfig.json'),
43
- externalResolutions: {},
44
- },
45
46
- ],
47
+ // Only transpile codeblocks in CI, as it's slow
+ process.env.CI
+ ? [
+ transpileCodeblocks,
+ {
+ compilerSettings: {
+ tsconfig: resolve(__dirname, '../docs/tsconfig.json'),
+ externalResolutions: {},
+ },
48
+ ]
49
+ : null,
50
+ ].filter(Boolean),
51
52
theme: {
53
customCss: require.resolve('./src/css/custom.css'),
0 commit comments