run webpack in code-dev

This commit is contained in:
Martin Aeschlimann
2020-05-26 18:15:01 +02:00
parent f9bb157b09
commit d1a3e6ede6
7 changed files with 68 additions and 18 deletions

View File

@@ -0,0 +1,23 @@
/*---------------------------------------------------------------------------------------------
* 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');
const path = require('path');
module.exports = withDefaults({
target: 'webworker',
context: path.join(__dirname, 'client'),
entry: {
extension: './src/browser/cssClientBrowserMain.ts',
},
output: {
filename: 'cssClientBrowserMain.js',
path: path.join(__dirname, 'client', 'dist', 'browser')
}
});