mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-24 20:17:50 +02:00
fix(v2): prioritize node_modules resolve (#1057)
This commit is contained in:
parent
5d60739f7c
commit
d8e5f315f1
2 changed files with 5 additions and 8 deletions
|
@ -66,7 +66,7 @@ module.exports = function(fileString) {
|
|||
|
||||
/* Return a React component */
|
||||
return `
|
||||
import React from 'DOCUSAURUS_NODE_MODULES_PATH_DO_NOT_USE_OR_YOU_WILL_BE_FIRED/react';
|
||||
import React from 'react';
|
||||
import Markdown from '@theme/Markdown';
|
||||
export default () => (
|
||||
<Markdown siteConfig={${JSON.stringify(siteConfig)}}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue