vscode/extensions/css-language-features/extension-browser.webpack.c...

23 lines
734 B
JavaScript
Raw Normal View History

2020-05-27 00:15:01 +08:00
/*---------------------------------------------------------------------------------------------
* 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';
2020-06-26 05:21:56 +08:00
const withBrowserDefaults = require('../shared.webpack.config').browser;
2020-05-27 00:15:01 +08:00
const path = require('path');
2020-05-28 04:35:37 +08:00
2020-06-26 05:21:56 +08:00
module.exports = withBrowserDefaults({
2020-05-27 00:15:01 +08:00
context: path.join(__dirname, 'client'),
entry: {
2020-05-28 04:35:37 +08:00
extension: './src/browser/cssClientMain.ts'
2020-05-27 00:15:01 +08:00
},
output: {
2020-05-28 04:35:37 +08:00
filename: 'cssClientMain.js',
2020-05-27 00:15:01 +08:00
path: path.join(__dirname, 'client', 'dist', 'browser')
}
});