Skip to content

Commit d0d8634

Browse files
committed
fix
1 parent 15a28c0 commit d0d8634

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

build/gulpfile.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ gulp.task(compileClientTask);
3737
const watchClientTask = task.define('watch-client', task.series(util.rimraf('out'), task.parallel(watchTask('out', false), watchApiProposalNamesTask, compilation.watchCodiconsTask)));
3838
gulp.task(watchClientTask);
3939

40-
gulp.task(task.define('watch-init', require('./lib/compilation').watchTask('out', false)));
41-
4240
// All
4341
const _compileTask = task.define('compile', task.parallel(monacoTypecheckTask, compileClientTask, compileExtensionsTask, compileExtensionMediaTask));
4442
gulp.task(_compileTask);

build/lib/compilation.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ import watch from './watch/index.ts';
2323
import bom from 'gulp-bom';
2424
import * as tsb from './tsb/index.ts';
2525
import sourcemaps from 'gulp-sourcemaps';
26-
const packageJson = require('../../package.json');
27-
const productJson = require('../../product.json');
28-
const replace = require('gulp-replace');
26+
import packageJson from '../../package.json' with { type: 'json' };
27+
import productJson from '../../product.json' with { type: 'json' };
28+
import replace from 'gulp-replace';
2929

3030

3131
// --- gulp-tsb: compile and transpile --------------------------------

0 commit comments

Comments
 (0)