remove "pxtrequire"

This commit is contained in:
Peli de Halleux 2018-05-03 06:55:50 -07:00
parent afe0f9b0f7
commit f4b7230a67
2 changed files with 0 additions and 8 deletions

View File

@ -1,6 +0,0 @@
/// <reference path="../node_modules/pxt-core/built/pxtlib.d.ts" />
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"), "..", "..");

View File

@ -30,8 +30,6 @@
"docs/*/*.md", "docs/*/*.md",
"docs/*/*/*.md" "docs/*/*/*.md"
], ],
"main": "built/pxtrequire.js",
"typings": "built/pxtrequire.d.ts",
"devDependencies": { "devDependencies": {
"typescript": "2.6.1", "typescript": "2.6.1",
"semantic-ui-less": "2.2.14", "semantic-ui-less": "2.2.14",