Signed-off-by: Julius Härtl <jus@bitgrid.net>
*/
import _ from 'underscore'
-import dav from 'davclient.js'
+import { dav } from 'davclient.js'
const methodMap = {
create: 'POST',
import 'bootstrap/js/dist/tooltip'
import './Polyfill/tooltip'
import ClipboardJS from 'clipboard'
-import dav from 'davclient.js'
+import { dav } from 'davclient.js'
import DOMPurify from 'dompurify'
import Handlebars from 'handlebars'
import 'jcrop/js/jquery.Jcrop'
rules: [
{
test: /davclient/,
- use: 'exports-loader?dav'
+ loader: 'exports-loader',
+ options: {
+ type: 'commonjs',
+ exports: 'dav',
+ }
}
]
},