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:
Don Jayamanne
2024-09-13 07:56:34 +10:00
committed by GitHub
parent ffcdf47cbc
commit c4645ea0ec
7 changed files with 115 additions and 16 deletions

View File

@@ -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() {