Explorar el Código

Bundles typescriptServices.js with tsc, thus getting rid of -amd.js.
This means that `npm run watch` is enough to run the monaco playground.

Henning Dieterichs hace 2 años
padre
commit
d98d3600ef
Se han modificado 3 ficheros con 3 adiciones y 9975 borrados
  1. 0 5
      build/build-languages.ts
  2. 0 9969
      src/language/typescript/lib/typescriptServices-amd.js
  3. 3 1
      src/tsconfig.json

+ 0 - 5
build/build-languages.ts

@@ -131,11 +131,6 @@ buildAMD({
 
 //#region typescript
 
-copyFile(
-	`src/language/typescript/lib/typescriptServices-amd.js`,
-	`out/languages/amd-tsc/language/typescript/lib/typescriptServices.js`
-);
-
 buildESM({
 	base: 'language/typescript',
 	entryPoints: [

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 9969
src/language/typescript/lib/typescriptServices-amd.js


+ 3 - 1
src/tsconfig.json

@@ -7,6 +7,8 @@
 		"outDir": "../out/languages/amd-tsc",
 		"strict": true,
 		"target": "es5",
-		"sourceMap": true
+		"sourceMap": true,
+		"allowJs": true,
+		"checkJs": false
 	}
 }

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio