nuke special lib options and use compiler option's lib instead

This commit is contained in:
Johannes Rieken
2020-03-02 13:44:22 +01:00
parent 8fac4133c5
commit 27bc032975
3 changed files with 55 additions and 32 deletions
-15
View File
@@ -72,21 +72,6 @@ const extractEditorSrcTask = task.define('extract-editor-src', () => {
apiusages,
extrausages
],
libs: [
`lib.es5.d.ts`,
`lib.es2015.core.d.ts`,
`lib.es2015.collection.d.ts`,
`lib.es2015.generator.d.ts`,
`lib.es2015.promise.d.ts`,
`lib.es2015.iterable.d.ts`,
`lib.es2015.proxy.d.ts`,
`lib.es2015.reflect.d.ts`,
`lib.es2015.symbol.d.ts`,
`lib.es2015.symbol.wellknown.d.ts`,
`lib.dom.d.ts`,
`lib.dom.iterable.d.ts`,
`lib.webworker.importscripts.d.ts`
],
shakeLevel: 2, // 0-Files, 1-InnerFile, 2-ClassMembers
importIgnorePattern: /(^vs\/css!)|(promise-polyfill\/polyfill)/,
destRoot: path.join(root, 'out-editor-src'),