mirror of
https://github.com/gchq/CyberChef
synced 2026-01-02 00:23:55 +00:00
remove extra preamble for grunt task. improve index script
This commit is contained in:
@@ -33,6 +33,7 @@ let code = `/**
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
|
||||
import "babel-polyfill";
|
||||
import { wrap } from "./apiUtils";
|
||||
import {
|
||||
`;
|
||||
@@ -43,7 +44,7 @@ Object.keys(operations).forEach((op) => {
|
||||
});
|
||||
|
||||
code +=`
|
||||
} from "../node/operations/index";
|
||||
} from "../core/operations/index";
|
||||
|
||||
// Define global environment functions
|
||||
global.ENVIRONMENT_IS_WORKER = function() {
|
||||
|
||||
Reference in New Issue
Block a user