mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
[npm] support serverless & cleanup
This commit is contained in:
@@ -14,12 +14,10 @@ const withDefaults = require('../shared.webpack.config');
|
||||
module.exports = withDefaults({
|
||||
context: __dirname,
|
||||
entry: {
|
||||
extension: './src/main.ts',
|
||||
extension: './src/npmMain.ts',
|
||||
},
|
||||
output: {
|
||||
filename: 'main.js',
|
||||
path: path.join(__dirname, 'dist'),
|
||||
libraryTarget: 'commonjs',
|
||||
filename: 'npmMain.js',
|
||||
},
|
||||
resolve: {
|
||||
mainFields: ['module', 'main'],
|
||||
|
||||
Reference in New Issue
Block a user