mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 21:39:43 +00:00
Fixes #99666 - moves code-web into resources/
This commit is contained in:
parent
aef90f8fda
commit
bb97e452f1
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
@ -217,7 +217,7 @@
|
|||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "VS Code (Web)",
|
||||
"program": "${workspaceFolder}/scripts/code-web.js",
|
||||
"program": "${workspaceFolder}/resources/serverless/code-web.js",
|
||||
"presentation": {
|
||||
"group": "0_vscode",
|
||||
"order": 2
|
||||
|
|
|
@ -124,7 +124,7 @@ const copyrightFilter = [
|
|||
'!extensions/html-language-features/server/src/modes/typescript/*',
|
||||
'!extensions/*/server/bin/*',
|
||||
'!src/vs/editor/test/node/classification/typescript-test.ts',
|
||||
'!scripts/code-web.js'
|
||||
'!resources/serverless/code-web.js'
|
||||
];
|
||||
|
||||
const jsHygieneFilter = [
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"valid-layers-check": "node build/lib/layersChecker.js",
|
||||
"strict-function-types-watch": "tsc --watch -p src/tsconfig.json --noEmit --strictFunctionTypes",
|
||||
"update-distro": "node build/npm/update-distro.js",
|
||||
"web": "node scripts/code-web.js",
|
||||
"web": "node resources/serverless/code-web.js",
|
||||
"eslint": "eslint -c .eslintrc.json --rulesdir ./build/lib/eslint --ext .ts --ext .js ./src/vs ./extensions"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
4
scripts/code-web.js → resources/serverless/code-web.js
Executable file → Normal file
4
scripts/code-web.js → resources/serverless/code-web.js
Executable file → Normal file
|
@ -6,7 +6,7 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
// @ts-check
|
||||
/** @typedef {import('../src/vs/workbench/workbench.web.api').IWorkbenchConstructionOptions} WebConfiguration **/
|
||||
/** @typedef {import('../../src/vs/workbench/workbench.web.api').IWorkbenchConstructionOptions} WebConfiguration **/
|
||||
|
||||
const http = require('http');
|
||||
const url = require('url');
|
||||
|
@ -18,7 +18,7 @@ const opn = require('opn');
|
|||
const minimist = require('minimist');
|
||||
const webpack = require('webpack');
|
||||
|
||||
const APP_ROOT = path.dirname(__dirname);
|
||||
const APP_ROOT = path.join(__dirname, '..', '..');
|
||||
const EXTENSIONS_ROOT = path.join(APP_ROOT, 'extensions');
|
||||
const WEB_MAIN = path.join(APP_ROOT, 'src', 'vs', 'code', 'browser', 'workbench', 'workbench-dev.html');
|
||||
|
Loading…
Reference in a new issue