forked from sourcegraph/openctx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.npmrc
14 lines (12 loc) · 1.07 KB
/
.npmrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
hoist=false
# needed by vike-react to fix the following error on `pnpm -C web dev`:
#
# 3:11:31 AM [vike][request(1)] Following error was thrown by the onRenderHtml() hook defined at vike-react/renderer/onRenderHtml
# Error: Cannot find package 'react-dom' imported from /home/sqs/src/github.com/sourcegraph/openctx/node_modules/.pnpm/@[email protected]/node_modules/@brillout/import/dist/index.js
public-hoist-pattern[]=*react-dom*
# Needed to import package README.md files in the web content pages.
public-hoist-pattern[]=@mdx-js/react # needed for client/codemirror/README.md
public-hoist-pattern[]=@code-hike/mdx # needed for client/codemirror/README.md
public-hoist-pattern[]=react # needed for client/vscode/README.md
public-hoist-pattern[]=@storybook/html # needed to avoid: [vite] Internal server error: Failed to resolve import "@storybook/html/dist/entry-preview.mjs" from "../../../../../../../../virtual:/@storybook/builder-vite/vite-app.js". Does the file exist?
public-hoist-pattern[]=@swc/wasm # fix `Could not resolve "@swc/wasm"` from @swc/core in vscode desktop build