mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
This commit is contained in:
parent
13f71e713c
commit
2f3b388188
@ -61,7 +61,7 @@ export default class InteropService_Importer_OneNote extends InteropService_Impo
|
||||
const outputDirectory2 = join(tempOutputDirectory, baseFolder);
|
||||
|
||||
const notebookFiles = zip.getEntries().filter(e => e.name !== '.onetoc2' && e.name !== 'OneNote_RecycleBin.onetoc2');
|
||||
const { oneNoteConverter } = shim.requireDynamic('../../../onenote-converter/pkg/onenote_converter');
|
||||
const { oneNoteConverter } = shim.requireDynamic('@joplin/onenote-converter');
|
||||
|
||||
logger.info('Extracting OneNote to HTML');
|
||||
for (const notebookFile of notebookFiles) {
|
||||
|
@ -10,13 +10,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/laurent22/joplin"
|
||||
},
|
||||
"files": [
|
||||
"./pkg/onenote_converter_bg.wasm",
|
||||
"./pkg/onenote_converter.js",
|
||||
"./pkg/onenote_converter.d.ts"
|
||||
],
|
||||
"main": "./pkg/onenote_converter.js",
|
||||
"types": "./pkg/onenote_converter.d.ts",
|
||||
"scripts": {
|
||||
"build": "node ./build.js --profile=release",
|
||||
"buildDev": "node ./build.js --profile=dev"
|
||||
|
Loading…
Reference in New Issue
Block a user