mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-07 06:57:12 -04:00
return imports to original ( assert {type:json}). This stops local dev from working though
This commit is contained in:
parent
9fbef2c163
commit
b80525315d
4 changed files with 5 additions and 8 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 :)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue