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,10 +4,10 @@
* @license Apache-2.0
*/
import Dish from "./Dish";
import Recipe from "./Recipe";
import Dish from "./Dish.mjs";
import Recipe from "./Recipe.mjs";
import log from "loglevel";
import { isWorkerEnvironment } from "./Utils";
import { isWorkerEnvironment } from "./Utils.mjs";
/**
* The main controller for CyberChef.