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 7e14489 commit 661b216Copy full SHA for 661b216
packages/plugin-docusaurus-v3/src/index.ts
@@ -58,7 +58,7 @@ export default function OramaPluginDocusaurus(
58
},
59
60
async allContentLoaded({ actions, allContent }) {
61
- const isDevelopment = !options.cloud?.oramaCloudAPIKey
+ const isDevelopment = process.env.NODE_ENV === 'development' || !options.cloud?.oramaCloudAPIKey
62
const docsInstances: string[] = []
63
const oramaCloudAPIKey = options.cloud?.oramaCloudAPIKey
64
const searchDataConfig = [
@@ -323,4 +323,4 @@ async function deployData({
323
324
return undefined
325
}
326
-}
+}
0 commit comments