Replies: 1 comment 4 replies
-
This happens because Native Node cannot resolve path to monaco editor because it doesn't have {
test: {
deps: {
inline: ['monaco-editor']
}
}
} |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I build a vite project with the example from https://github.com/microsoft/monaco-editor/tree/main/samples/browser-esm-vite-react .
Then I add vitest and the test code is:
But it shows
Failed to resolve entry for package "monaco-editor". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "monaco-editor". The package may have incorrect main/module/exports specified in its package.json
What should I do to let the case run?
Beta Was this translation helpful? Give feedback.
All reactions