Sirs,
I migrated from @vscode-webtookit to @vscode-element.
In a development environment, my extension works without problems with @vscode-element, but for distribution I use WebPack.
When running webPack, I get the message below:
ERROR in ./node_modules/@vscode-elements/react-elements/dist/main.js 33:0-49
Module not found: Error: Can't resolve './components/VscodeTree' in 'W:\ws_tds_vscode\tds-webtoolkit\node_modules\@vscode-elements\react-elements\dist'
Did you mean 'VscodeTree.js'?
BREAKING CHANGE: The request './components/VscodeTree' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
Any suggestions on how to resolve it?
Grateful
Sirs,
I migrated from @vscode-webtookit to @vscode-element.
In a development environment, my extension works without problems with @vscode-element, but for distribution I use WebPack.
When running webPack, I get the message below:
Any suggestions on how to resolve it?
Grateful