I have a alias like this in my webpack:
resolve: {
alias: {
'@Shared': path.resolve(__dirname, 'src/shared'),
'vscode': require.resolve('@codingame/monaco-languageclient/lib/vscode-compatibility')
}
}
however, when i went to build, the library that uses vscode, return the error:
./node_modules/vscode-languageclient/lib/common/client.js
Module not found: Can't resolve 'vscode' in 'C:\Users\jck\Desktop\merge\Newton\node_modules\vscode-languageclient\lib\common'
i'
How can I solve this?
I have a alias like this in my webpack:
however, when i went to build, the library that uses vscode, return the error:
How can I solve this?