diff --git a/cmds/pxtrequire.ts b/cmds/pxtrequire.ts deleted file mode 100644 index 713b72c1..00000000 --- a/cmds/pxtrequire.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// - -import * as path from "path"; -export let pxtCore = require("pxt-core"); -// require.resolve() gives path to [pxt dir]/built/pxt.js, so move up twice to get pxt root dir -export let pxtCoreDir = path.resolve(require.resolve("pxt-core"), "..", ".."); diff --git a/package.json b/package.json index fef35b71..3f5b3aaa 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,6 @@ "docs/*/*.md", "docs/*/*/*.md" ], - "main": "built/pxtrequire.js", - "typings": "built/pxtrequire.d.ts", "devDependencies": { "typescript": "2.6.1", "semantic-ui-less": "2.2.14",