mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Updates to perform all operations in worker
This commit is contained in:
@@ -8,14 +8,20 @@
|
||||
'use strict';
|
||||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = withDefaults({
|
||||
context: __dirname,
|
||||
entry: {
|
||||
extension: './src/ipynbMain.ts',
|
||||
ipynbMain: './src/ipynbMain.ts',
|
||||
notebookSerializerWorker: './src/notebookSerializerWorker.ts',
|
||||
},
|
||||
output: {
|
||||
// filename: 'ipynbMain.js'
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: '[name].js'
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
...withDefaults.nodePlugins(__dirname), // add plugins, don't replace inherited
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user