Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/ipynb/extension.webpack.config.js
3290 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
// @ts-check
6
import withDefaults, { nodePlugins } from '../shared.webpack.config.mjs';
7
import path from 'path';
8
9
export default withDefaults({
10
context: import.meta.dirname,
11
entry: {
12
['ipynbMain.node']: './src/ipynbMain.node.ts',
13
notebookSerializerWorker: './src/notebookSerializerWorker.ts',
14
},
15
output: {
16
path: path.resolve(import.meta.dirname, 'dist'),
17
filename: '[name].js'
18
},
19
plugins: [
20
...nodePlugins(import.meta.dirname), // add plugins, don't replace inherited
21
]
22
});
23
24