From f4b7230a67dbbfdbf354d1e4fbcfd09d696abb79 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 3 May 2018 06:55:50 -0700 Subject: [PATCH] remove "pxtrequire" --- cmds/pxtrequire.ts | 6 ------ package.json | 2 -- 2 files changed, 8 deletions(-) delete mode 100644 cmds/pxtrequire.ts 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",