mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
Safer way to determine whether node or browser
This commit is contained in:
@@ -13,11 +13,10 @@ const path = require('path');
|
||||
module.exports = withDefaults({
|
||||
context: __dirname,
|
||||
entry: {
|
||||
ipynbMain: './src/ipynbMain.ts',
|
||||
['ipynbMain.node']: './src/ipynbMain.node.ts',
|
||||
notebookSerializerWorker: './src/notebookSerializerWorker.ts',
|
||||
},
|
||||
output: {
|
||||
// filename: 'ipynbMain.js'
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: '[name].js'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user