Skip to content

Commit d216f0e

Browse files
committed
[php] add webpack support microsoft#57680
1 parent f8a736c commit d216f0e

5 files changed

Lines changed: 26 additions & 271 deletions

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.vscode/**
12
src/**
3+
out/**
24
tsconfig.json
3-
out/test/**
5+
extension.webpack.config.js
6+
yarn.lock
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
12+
module.exports = withDefaults({
13+
context: __dirname,
14+
entry: {
15+
extension: './src/phpMain.ts',
16+
},
17+
output: {
18+
filename: 'phpMain.js'
19+
}
20+
});

extensions/php-language-features/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
}
7474
},
7575
"scripts": {
76-
"compile": "gulp compile-extension:php",
77-
"watch": "gulp watch-extension:php"
76+
"compile": "npx gulp compile-extension:php-language-features",
77+
"watch": "npx gulp watch-extension:php-language-features"
7878
},
7979
"dependencies": {
8080
"vscode-nls": "^4.0.0"

extensions/php-language-features/src/test/index.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

extensions/php-language-features/src/test/php-worker.test.ts.disabled

Lines changed: 0 additions & 251 deletions
This file was deleted.

0 commit comments

Comments
 (0)