Remove dompurify from the main bundle
Smaller bundles are good bundles Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
98c8cd5089
commit
6aeaf5b523
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -37,7 +37,6 @@ import 'bootstrap/js/dist/tooltip'
|
|||
import './Polyfill/tooltip'
|
||||
import ClipboardJS from 'clipboard'
|
||||
import { dav } from 'davclient.js'
|
||||
import DOMPurify from 'dompurify'
|
||||
import Handlebars from 'handlebars'
|
||||
import 'jcrop/js/jquery.Jcrop'
|
||||
import 'jcrop/css/jquery.Jcrop.css'
|
||||
|
@ -105,7 +104,6 @@ setDeprecatedProp('autosize', () => autosize, 'please ship your own, this will b
|
|||
setDeprecatedProp('Backbone', () => Backbone, 'please ship your own, this will be removed in Nextcloud 20')
|
||||
setDeprecatedProp(['Clipboard', 'ClipboardJS'], () => ClipboardJS, 'please ship your own, this will be removed in Nextcloud 20')
|
||||
window.dav = dav
|
||||
setDeprecatedProp('DOMPurify', () => DOMPurify, 'The global DOMPurify is deprecated, this will be removed in Nextcloud 21')
|
||||
setDeprecatedProp('Handlebars', () => Handlebars, 'please ship your own, this will be removed in Nextcloud 20')
|
||||
setDeprecatedProp(['jstz', 'jstimezonedetect'], () => jstimezonedetect, 'please ship your own, this will be removed in Nextcloud 20')
|
||||
setDeprecatedProp('md5', () => md5, 'please ship your own, this will be removed in Nextcloud 20')
|
||||
|
|
Loading…
Reference in New Issue