File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ const clientConfig = withDefaults ( {
14+ target : 'webworker' ,
15+ context : __dirname ,
16+ entry : {
17+ extension : './src/pythonMain.ts'
18+ } ,
19+ output : {
20+ filename : 'pythonMain.js'
21+ } ,
22+ performance : {
23+ hints : false
24+ } ,
25+ resolve : {
26+ alias : {
27+ 'vscode-nls' : path . resolve ( __dirname , '../../build/polyfills/vscode-nls.js' )
28+ }
29+ }
30+ } ) ;
31+ clientConfig . module . rules [ 0 ] . use . shift ( ) ; // remove nls loader
32+
33+ module . exports = clientConfig ;
Original file line number Diff line number Diff line change 88 "engines" : { "vscode" : " *" },
99 "activationEvents" : [" onLanguage:python" ],
1010 "main" : " ./out/pythonMain" ,
11+ "browser" : " ./dist/pythonMain" ,
1112 "extensionKind" : [ " ui" , " workspace" ],
1213 "contributes" : {
1314 "languages" : [{
You can’t perform that action at this time.
0 commit comments