Skip to content

Commit

Permalink
build: fix gulp package failed
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Nov 29, 2023
1 parent b74f249 commit ecc24d7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import babel from 'gulp-babel'
import esbuild from 'gulp-esbuild'
import filter from 'gulp-filter'
import jsYaml from 'js-yaml'
import { dynamicImport } from 'tsimportlib'
import File from 'vinyl'
import { createVSIX } from 'vsce'
import * as nls from 'vscode-nls-dev'
Expand All @@ -19,7 +20,7 @@ const languages = [
]

const cleanTask = async function () {
return (await import('del')).deleteAsync([
return (await dynamicImport('del', module)).deleteAsync([
'dist/**',
'package.nls.*.json',
'cactbot-highlight*.vsix',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
"mocha": "^10.2.0",
"prettier": "^3.0.0",
"ts-node": "^10.9.1",
"tsimportlib": "^0.0.5",
"vsce": "^2.15.0",
"vscode-nls-dev": "^4.0.3",
"vscode-test": "^1.6.1"
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7011,6 +7011,11 @@ tsconfig-paths@^3.14.1:
minimist "^1.2.6"
strip-bom "^3.0.0"

tsimportlib@^0.0.5:
version "0.0.5"
resolved "https://registry.yarnpkg.com/tsimportlib/-/tsimportlib-0.0.5.tgz#6ba8497a19b7dd5a9198209d9b167c9eb84d7fb1"
integrity sha512-qWQv/C3YB4Pwj77Z2HlORfy5EsWHcSYt66VQlMM0xZiKXwtoe1SxfpzmHX62sdJgzU6esrBGtyRIlx6O2OFPrQ==

tslib@^1.8.1:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
Expand Down

0 comments on commit ecc24d7

Please sign in to comment.