return imports to original ( assert {type:json}). This stops local dev from working though

This commit is contained in:
Robin Scholtes 2023-05-10 23:16:32 +12:00
parent 9fbef2c163
commit b80525315d
4 changed files with 5 additions and 8 deletions

View file

@ -7,8 +7,7 @@
*/
import Chef from "./Chef.mjs";
// @TODO dolphin: import OperationConfig from "./config/OperationConfig.json" assert {type: "json"};
import OperationConfig from "./config/OperationConfig.json";
import OperationConfig from "./config/OperationConfig.json" assert {type: "json"};
import OpModules from "./config/modules/OpModules.mjs";
import loglevelMessagePrefix from "loglevel-message-prefix";

View file

@ -4,8 +4,7 @@
* @license Apache-2.0
*/
// @TODO dolphin: import OperationConfig from "./config/OperationConfig.json" assert {type: "json"};
import OperationConfig from "./config/OperationConfig.json";
import OperationConfig from "./config/OperationConfig.json" assert {type: "json"};
import OperationError from "./errors/OperationError.mjs";
import Operation from "./Operation.mjs";
import DishError from "./errors/DishError.mjs";

View file

@ -1,5 +1,4 @@
// @TODO dolphin: import OperationConfig from "../config/OperationConfig.json" assert {type: "json"};
import OperationConfig from "../config/OperationConfig.json";
import OperationConfig from "../config/OperationConfig.json" assert {type: "json"};
import Utils, { isWorkerEnvironment } from "../Utils.mjs";
import Recipe from "../Recipe.mjs";
import Dish from "../Dish.mjs";

View file

@ -9,9 +9,9 @@
is expanded and double click the window to fs > resolve. Reset layout
### JS:
- `core/Recipe.mjs`, `core/lib/Magic.js` return imports to original
- `core/Recipe.mjs`, `core/lib/Magic.js`, `core/ChefWorker.js` return imports to original
> but then dev wont run anymore :(
### Misc:
- Gruntfile revert dev config
- delete this file when done :)