run webpack in code-dev · code/app-vscode@d1a3e6e · GitHub
Skip to content

Commit d1a3e6e

Browse files
committed
run webpack in code-dev
1 parent f9bb157 commit d1a3e6e

7 files changed

Lines changed: 68 additions & 18 deletions

File tree

‎.vscode/launch.json‎

Lines changed: 1 addition & 4 deletions
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
import { ExtensionContext, window } from 'vscode';
7+
//import { startClient } from '../cssClient';
8+
9+
// this method is called when vs code is activated
10+
export function activate(_context: ExtensionContext) {
11+
12+
window.showInformationMessage('cssClientBrowserMain.ts running');
13+
14+
//startClient(context, {});
15+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*---------------------------------------------------------------------------------------------
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
4+
*--------------------------------------------------------------------------------------------*/
5+
6+
//@ts-check
7+
8+
'use strict';
9+
10+
const withDefaults = require('../shared.webpack.config');
11+
const path = require('path');
12+
13+
module.exports = withDefaults({
14+
target: 'webworker',
15+
context: path.join(__dirname, 'client'),
16+
entry: {
17+
extension: './src/browser/cssClientBrowserMain.ts',
18+
},
19+
output: {
20+
filename: 'cssClientBrowserMain.js',
21+
path: path.join(__dirname, 'client', 'dist', 'browser')
22+
}
23+
});

‎extensions/css-language-features/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"onCommand:_css.applyCodeAction"
1717
],
1818
"main": "./client/out/node/cssClientMain",
19+
"browser": "./client/dist/browser/cssClientBrowserMain",
1920
"enableProposedApi": true,
2021
"scripts": {
2122
"compile": "gulp compile-extension:css-language-features-client compile-extension:css-language-features-server",

‎extensions/css-language-features/server/yarn.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ to-regex-range@^5.0.1:
701701
dependencies:
702702
is-number "^7.0.0"
703703

704-
vscode-css-languageservice@^4.3.0-next.0:
704+
vscode-css-languageservice@4.3.0-next.0:
705705
version "4.3.0-next.0"
706706
resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-4.3.0-next.0.tgz#70ca6e192e1d7fb904867e696851b14401da9573"
707707
integrity sha512-OwYavU+gqocK3YQi484CrGkGMMRRmzJdeNMfgAr/SssKJVJuvkLec7NbAopM42KTE6OPaqU3AFgI5AMERmIJ4A==

‎extensions/vscode-web-playground/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"onFileSystem:memfs",
1111
"onDebug"
1212
],
13-
"main": "./out/extension",
13+
"browser": "./out/extension",
1414
"engines": {
1515
"vscode": "^1.25.0"
1616
},

‎scripts/code-web.js‎

Lines changed: 26 additions & 12 deletions

0 commit comments

Comments
 (0)