mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
Restore changes to ipynb extension to serialize notebook in node worker for desktop (#228319)
* Revert usage of node worker due to failing web compilation
* Revert "Revert usage of node worker due to failing web compilation"
This reverts commit 3190f58c7e.
* Ensure node worker is used only in desktop bundle of ipynb extension
---------
Co-authored-by: Aaron Munger <aamunger@microsoft.com>
This commit is contained in:
@@ -5,9 +5,10 @@
|
||||
|
||||
import * as vscode from 'vscode';
|
||||
import * as main from './ipynbMain';
|
||||
import { NotebookSerializer } from './notebookSerializer.node';
|
||||
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
return main.activate(context, false);
|
||||
return main.activate(context, new NotebookSerializer(context));
|
||||
}
|
||||
|
||||
export function deactivate() {
|
||||
|
||||
Reference in New Issue
Block a user