-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Themes and python grammers aren't loading #636
Comments
Are you using Vite in dev mode? |
@CGNonofr no I'm using only custom-webpack. No Vite |
Sorry, I've read a little too fast! That's a common Vite issue. Are you up to date with webpack/monaco-languageclient/monaco-vscode-api? |
Hi @FadyGeo have you compared you setup with our angular verification example already? |
@CGNonofr thanks for your response. I'm currently using: "npm:@codingame/monaco-vscode-editor-api@~3.2.2" as monaco-editor in my Package.json. |
@kaisalmen Hi, Thanks for your answer, I've merged your Angular.json with mine, used almost the same webpack as yours and my tsconfig looks similar to yours, except our project is using ES2022 Module. angular.json the user config looks like this: thanks and best regards |
I'm trying to integrate the languageclient into my angular project and connect it to a language server. I'm facing this problem currently and can't tell whether i'm using the wrong Webpack configuration or is it a common bug.
webpack: `const { dirname, resolve } = require('path');
const config = {
module: {
rules: [
{
test: /.css$/,
use: ['style-loader', 'css-loader'],
include: [
resolve(__dirname, './node_modules/monaco-editor'),
resolve(__dirname, './node_modules/vscode')
]
},
{
test: /.(mp3|wasm|ttf)$/i,
type: 'asset/resource'
}
],
parser: {
javascript: {
url: true
}
}
},
resolve: {
extensions: ['.ts', '.js', '.json', '.ttf']
}
};
module.exports = config;
`
does anyone have an idea on how to solve it?
regards
The text was updated successfully, but these errors were encountered: