Skip to content

Commit

Permalink
Merge pull request #148780 from microsoft/joh/inline-tsb
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 5, 2022
2 parents eeac93f + c13d581 commit a856094
Show file tree
Hide file tree
Showing 14 changed files with 1,622 additions and 49 deletions.
2 changes: 1 addition & 1 deletion build/gulpfile.extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const tasks = compilations.map(function (tsconfigFile) {

function createPipeline(build, emitError) {
const nlsDev = require('vscode-nls-dev');
const tsb = require('gulp-tsb');
const tsb = require('./lib/tsb');
const sourcemaps = require('gulp-sourcemaps');

const reporter = createReporter('extensions');
Expand Down
2 changes: 1 addition & 1 deletion build/lib/compilation.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function getTypeScriptCompilerOptions(src) {
return options;
}
function createCompile(src, build, emitError) {
const tsb = require('gulp-tsb');
const tsb = require('./tsb');
const sourcemaps = require('gulp-sourcemaps');
const projectPath = path.join(__dirname, '../../', src, 'tsconfig.json');
const overrideOptions = { ...getTypeScriptCompilerOptions(src), inlineSources: Boolean(build) };
Expand Down
2 changes: 1 addition & 1 deletion build/lib/compilation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function getTypeScriptCompilerOptions(src: string): ts.CompilerOptions {
}

function createCompile(src: string, build: boolean, emitError?: boolean) {
const tsb = require('gulp-tsb') as typeof import('gulp-tsb');
const tsb = require('./tsb') as typeof import('./tsb');
const sourcemaps = require('gulp-sourcemaps') as typeof import('gulp-sourcemaps');


Expand Down
491 changes: 491 additions & 0 deletions build/lib/tsb/builder.js

Large diffs are not rendered by default.

0 comments on commit a856094

Please sign in to comment.