Enable search-editor in serverless.

Closes microsoft/vscode-internalbacklog/issues/1208
This commit is contained in:
Jackson Kearl 2020-07-29 21:24:57 -07:00
parent 85cd6f0b8b
commit 9c525f3cf2
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/*---------------------------------------------------------------------------------------------
* 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 withBrowserDefaults = require('../shared.webpack.config').browser;
const path = require('path');
module.exports = withBrowserDefaults({
context: __dirname,
entry: {
extension: './src/extension.ts'
},
output: {
filename: 'extension.js',
path: path.join(__dirname, 'dist')
}
});

View file

@ -12,6 +12,7 @@
"Programming Languages"
],
"main": "./out/extension.js",
"browser": "./dist/extension.js",
"activationEvents": [
"*"
],