vscode/extensions/json-language-features/extension.webpack.config.js

26 lines
733 B
JavaScript
Raw Normal View History

2018-08-26 02:48:56 +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';
const withDefaults = require('../shared.webpack.config');
const path = require('path');
const config = withDefaults({
2018-08-26 02:48:56 +08:00
context: path.join(__dirname, 'client'),
entry: {
2020-06-12 04:28:05 +08:00
extension: './src/node/jsonClientMain.ts'
2018-08-26 02:48:56 +08:00
},
output: {
2020-06-12 04:28:05 +08:00
filename: 'jsonClientMain.js',
path: path.join(__dirname, 'client', 'dist', 'node')
2021-07-09 04:22:24 +08:00
}
2018-08-26 02:48:56 +08:00
});
2019-12-30 17:52:22 +08:00
module.exports = config;