Replies: 2 comments
-
Do you use the monaco-webpack plugin in the CRA? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I do, here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Code
No response
Actual Behavior
We are trying to ship a library that bundles monaco editor and VTL Editor using monaco webpack plugin.
As long as we do not bundle the lib, everything works as expected. See for example our Storybook stories ( code here ). If you go on and type full, intelisense will suggest full_join
However, when we try to use our npm module in a CRA, intelisense doesn’t work.
Expected Behavior
When we bundle, deploy on NPM, and import the wrapped component into a client app, it fails. Workers don't seem to be found.
We have seen that we need ton configure the PublicPath of the plugin starting from webpack v5, but filling it with '', '/', ASSET_PATH, ... don't fix the problem.
Any idea?
Additional Context
@EmmanuelDemey @garronej
Beta Was this translation helpful? Give feedback.
All reactions