2018-08-25 18:48:56 +00: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');
|
|
|
|
|
2019-03-27 13:14:32 +00:00
|
|
|
const config = withDefaults({
|
2018-08-25 18:48:56 +00:00
|
|
|
context: path.join(__dirname),
|
|
|
|
entry: {
|
2023-01-17 22:05:55 +00:00
|
|
|
extension: './src/node/jsonServerNodeMain.ts',
|
2018-08-25 18:48:56 +00:00
|
|
|
},
|
|
|
|
output: {
|
|
|
|
filename: 'jsonServerMain.js',
|
2020-06-11 20:28:05 +00:00
|
|
|
path: path.join(__dirname, 'dist', 'node'),
|
2021-07-08 20:22:24 +00:00
|
|
|
}
|
2018-08-25 18:48:56 +00:00
|
|
|
});
|
2019-03-27 13:14:32 +00:00
|
|
|
|
|
|
|
module.exports = config;
|