We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2c7ac1 commit 9bb9f32Copy full SHA for 9bb9f32
docusaurus.config.js
@@ -1,9 +1,4 @@
1
-// Load default export (must be a function)
2
-const unwrapJsx = require('./src/plugins/unwrap-jsx').default;
3
-
4
-if (typeof unwrapJsx !== 'function') {
5
- throw new Error('unwrapJsx plugin is not a function');
6
-}
+const unwrapJsx = require('./src/plugins/unwrap-jsx');
7
8
// Enabling PR previews
9
let siteBaseUrl = '/';
0 commit comments