Imports now specify the file extension to support Node v12

This commit is contained in:
n1474335 2019-07-09 12:23:59 +01:00
parent d7d50337f9
commit 566517d20f
469 changed files with 1098 additions and 1093 deletions

View file

@ -4,7 +4,7 @@
* @license Apache-2.0
*/
import Utils from "../../core/Utils";
import Utils from "../../core/Utils.mjs";
/**

View file

@ -7,9 +7,9 @@
import LoaderWorker from "worker-loader?inline&fallback=false!../workers/LoaderWorker";
import InputWorker from "worker-loader?inline&fallback=false!../workers/InputWorker";
import Utils from "../../core/Utils";
import { toBase64 } from "../../core/lib/Base64";
import { isImage } from "../../core/lib/FileType";
import Utils from "../../core/Utils.mjs";
import { toBase64 } from "../../core/lib/Base64.mjs";
import { isImage } from "../../core/lib/FileType.mjs";
/**

View file

@ -4,7 +4,7 @@
* @license Apache-2.0
*/
import HTMLOperation from "../HTMLOperation";
import HTMLOperation from "../HTMLOperation.mjs";
import Sortable from "sortablejs";

View file

@ -5,7 +5,7 @@
* @license Apache-2.0
*/
import Utils from "../../core/Utils";
import Utils from "../../core/Utils.mjs";
import FileSaver from "file-saver";
import ZipWorker from "worker-loader?inline&fallback=false!../workers/ZipWorker";

View file

@ -4,9 +4,9 @@
* @license Apache-2.0
*/
import HTMLOperation from "../HTMLOperation";
import HTMLOperation from "../HTMLOperation.mjs";
import Sortable from "sortablejs";
import Utils from "../../core/Utils";
import Utils from "../../core/Utils.mjs";
/**