Skip to content

Commit

Permalink
[php] add webpack support #57680
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Sep 19, 2018
1 parent f8a736c commit d216f0e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 271 deletions.
5 changes: 4 additions & 1 deletion extensions/php-language-features/.vscodeignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.vscode/**
src/**
out/**
tsconfig.json
out/test/**
extension.webpack.config.js
yarn.lock
20 changes: 20 additions & 0 deletions extensions/php-language-features/extension.webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

//@ts-check

'use strict';

const withDefaults = require('../shared.webpack.config');

module.exports = withDefaults({
context: __dirname,
entry: {
extension: './src/phpMain.ts',
},
output: {
filename: 'phpMain.js'
}
});
4 changes: 2 additions & 2 deletions extensions/php-language-features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
}
},
"scripts": {
"compile": "gulp compile-extension:php",
"watch": "gulp watch-extension:php"
"compile": "npx gulp compile-extension:php-language-features",
"watch": "npx gulp watch-extension:php-language-features"
},
"dependencies": {
"vscode-nls": "^4.0.0"
Expand Down
17 changes: 0 additions & 17 deletions extensions/php-language-features/src/test/index.ts

This file was deleted.

251 changes: 0 additions & 251 deletions extensions/php-language-features/src/test/php-worker.test.ts.disabled

This file was deleted.

0 comments on commit d216f0e

Please sign in to comment.