remove extra preamble for grunt task. improve index script

This commit is contained in:
d98762625 2018-05-25 12:20:56 +01:00
parent 0a0240e520
commit 9a471d2a26
2 changed files with 4 additions and 9 deletions

View file

@ -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() {