mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-29 11:30:50 +08:00
Standardised module loading system & fixed build system
Fixed broken build system in broken webpack version. Also updates module system to standardise on ES6 import/exports, Especially since babel has changed it's 'default' logic for the old module system.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
const DropZone = require("dropzone");
|
||||
import DropZone from "dropzone";
|
||||
|
||||
const template = `
|
||||
<div class="dropzone-container">
|
||||
@ -60,7 +60,7 @@ const methods = {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
template,
|
||||
props,
|
||||
mounted,
|
||||
|
Reference in New Issue
Block a user