mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-12 04:38:11 -06:00
23 lines
842 B
JavaScript
23 lines
842 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
// @ts-check
|
|
import withDefaults, { nodePlugins } from '../shared.webpack.config.mjs';
|
|
import path from 'path';
|
|
|
|
export default withDefaults({
|
|
context: import.meta.dirname,
|
|
entry: {
|
|
['ipynbMain.node']: './src/ipynbMain.node.ts',
|
|
notebookSerializerWorker: './src/notebookSerializerWorker.ts',
|
|
},
|
|
output: {
|
|
path: path.resolve(import.meta.dirname, 'dist'),
|
|
filename: '[name].js'
|
|
},
|
|
plugins: [
|
|
...nodePlugins(import.meta.dirname), // add plugins, don't replace inherited
|
|
]
|
|
});
|