mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Add support for vscode-textmate in the browser
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
<script>
|
||||
self.CONNECTION_AUTH_TOKEN = '{{CONNECTION_AUTH_TOKEN}}';
|
||||
self.USER_HOME_DIR = '{{USER_HOME_DIR}}';
|
||||
self.SERVER_APP_ROOT = '{{SERVER_APP_ROOT}}';
|
||||
</script>
|
||||
|
||||
<!-- Startup via workbench.js -->
|
||||
|
||||
@@ -21,7 +21,11 @@
|
||||
|
||||
// @ts-ignore
|
||||
require.config({
|
||||
baseUrl: `${window.location.origin}/out`
|
||||
baseUrl: `${window.location.origin}/out`,
|
||||
paths: {
|
||||
'vscode-textmate': `${window.location.origin}/node_modules/vscode-textmate/release/main`,
|
||||
'onigasm-umd': `${window.location.origin}/node_modules/onigasm-umd/release/main`,
|
||||
}
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
|
||||
Reference in New Issue
Block a user