mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Safer way to determine whether node or browser
This commit is contained in:
@@ -12,10 +12,10 @@ const withBrowserDefaults = require('../shared.webpack.config').browser;
|
||||
const config = withBrowserDefaults({
|
||||
context: __dirname,
|
||||
entry: {
|
||||
extension: './src/ipynbMain.ts'
|
||||
extension: './src/ipynbMain.browser.ts'
|
||||
},
|
||||
output: {
|
||||
filename: 'ipynbMain.js'
|
||||
filename: 'ipynbMain.browser.js'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user