mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
unvendor: Replace Readability
This commit is contained in:
@ -12,6 +12,7 @@ import Bowser from 'bowser';
|
||||
import ePub from 'epubjs';
|
||||
import * as pdfjsLib from 'pdfjs-dist/webpack.mjs';
|
||||
import DiffMatchPatch from 'diff-match-patch';
|
||||
import { isProbablyReaderable, Readability } from '@mozilla/readability';
|
||||
|
||||
/**
|
||||
* Expose the libraries to the 'window' object.
|
||||
@ -59,6 +60,8 @@ export default {
|
||||
ePub,
|
||||
pdfjsLib,
|
||||
DiffMatchPatch,
|
||||
Readability,
|
||||
isProbablyReaderable,
|
||||
};
|
||||
|
||||
export {
|
||||
@ -72,4 +75,6 @@ export {
|
||||
ePub,
|
||||
pdfjsLib,
|
||||
DiffMatchPatch,
|
||||
Readability,
|
||||
isProbablyReaderable,
|
||||
};
|
||||
|
Reference in New Issue
Block a user