mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
remove extra preamble for grunt task. improve index script
This commit is contained in:
parent
0a0240e520
commit
9a471d2a26
2 changed files with 4 additions and 9 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue