Skip to content

Commit 129be56

Browse files
authored
chore: remove beamer (#3711)
1 parent d54e99e commit 129be56

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

docusaurus.config.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -368,30 +368,6 @@ module.exports = {
368368
versions: VERSIONS_JSON,
369369
},
370370
],
371-
function (context, options) {
372-
return {
373-
name: 'beamer',
374-
injectHtmlTags({ content }) {
375-
// Only inject Beamer when deployed to production, so we don't use up Beamer "users"
376-
if (process.env.NODE_ENV === 'production') {
377-
return {
378-
// For performance, Beamer recommends injecting these scripts at the very bottom of the <body>
379-
// Thus, custom plugin is required here to use postBodyTags
380-
postBodyTags: [
381-
`<script>var beamer_config = { product_id : 'mUvQtqly31065' };</script>`,
382-
{
383-
tagName: 'script',
384-
attributes: {
385-
src: 'https://app.getbeamer.com/js/beamer-embed.js',
386-
defer: 'defer',
387-
},
388-
},
389-
],
390-
};
391-
}
392-
},
393-
};
394-
},
395371
],
396372
customFields: {},
397373
themes: [],

0 commit comments

Comments
 (0)