Imports now specify the file extension to support Node v12
This commit is contained in:
1 parent
d7d50337f9
commit
566517d20f
469 files changed
+1098
-1093
No files matched your search
@@ -6,7 +6,7 @@
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import Dish from "../../core/Dish";
|
||||
import Dish from "../../core/Dish.mjs";
|
||||
|
||||
self.addEventListener("message", function(e) {
|
||||
// Handle message from the main thread
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import Utils from "../../core/Utils";
|
||||
import {detectFileType} from "../../core/lib/FileType";
|
||||
import Utils from "../../core/Utils.mjs";
|
||||
import {detectFileType} from "../../core/lib/FileType.mjs";
|
||||
|
||||
// Default max values
|
||||
// These will be correctly calculated automatically
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import zip from "zlibjs/bin/zip.min";
|
||||
import Utils from "../../core/Utils";
|
||||
import Dish from "../../core/Dish";
|
||||
import {detectFileType} from "../../core/lib/FileType";
|
||||
import zip from "zlibjs/bin/zip.min.js";
|
||||
import Utils from "../../core/Utils.mjs";
|
||||
import Dish from "../../core/Dish.mjs";
|
||||
import {detectFileType} from "../../core/lib/FileType.mjs";
|
||||
|
||||
const Zlib = zip.Zlib;
|
||||
|
||||
|
||||
Reference in new issue
Block a user