浏览代码

fix main build

Steven Silvester 8 年之前
父节点
当前提交
34f24884d2
共有 2 个文件被更改,包括 1 次插入4 次删除
  1. 1 1
      jupyterlab/tsconfig.json
  2. 0 3
      packages/services/src/contents/index.ts

+ 1 - 1
jupyterlab/tsconfig.json

@@ -9,7 +9,7 @@
     "target": "ES5",
     "outDir": "./build",
     "lib": ["ES5", "ES2015.Collection", "ES2015.Promise", "DOM"],
-    "types": ["node"],
+    "types": ["node", "text-encoding"],
     "baseUrl": ".",
     "paths": {
       "@jupyterlab/*": ["../packages/*/src"]

+ 0 - 3
packages/services/src/contents/index.ts

@@ -1,9 +1,6 @@
 // Copyright (c) Jupyter Development Team.
 // Distributed under the terms of the Modified BSD License.
 
-import * as posix
- from 'path-posix';
-
 import {
   JSONObject
 } from '@phosphor/coreutils';