Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed May 10, 2024
1 parent 7aa2110 commit 2598d10
Show file tree
Hide file tree
Showing 3 changed files with 5,106 additions and 239 deletions.
16 changes: 15 additions & 1 deletion docs/bridge/docusaurus.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
import * as path from "path";

const config: Config = {
title: 'Synapse Bridge Docs',
Expand Down Expand Up @@ -142,7 +143,20 @@ const config: Config = {
},
}
},
]
],
() => ({
name: 'resolve-react',
configureWebpack() {
return {
resolve: {
alias: {
// assuming root node_modules is up from "./packages/<your-docusaurus>
react: path.resolve('../../node_modules/react'),
},
},
};
},
}),
],
};

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"name": "sanguine",
"version": "1.0.0",
"private": "true",
"description": "Implementation of the Sanguine messaging standard",
"description": "Synapse bridge monorepo",
"workspaces": {
"packages": [
"packages/*"
"packages/*",
"docs/*"
],
"nohoist": [
"**/typechain",
Expand Down
Loading

0 comments on commit 2598d10

Please sign in to comment.