Skip to content

Commit 006e55d

Browse files
committed
hack to make this build
1 parent fcbc5b0 commit 006e55d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/core/src/shared/lsp/utils/platform.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { waitUntil } from '../../utilities/timeoutUtils'
1010
import { isDebugInstance } from '../../vscode/env'
1111
import { tmpdir } from 'os'
1212
import { join } from 'path'
13+
// eslint-disable-next-line no-restricted-imports
1314
import * as fs from 'fs'
1415
import * as vscode from 'vscode'
1516
import * as tls from 'tls'

packages/webpack.base.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ module.exports = (env = {}, argv = {}) => {
3838
externals: {
3939
vscode: 'commonjs vscode',
4040
vue: 'root Vue',
41+
fs: 'commonjs fs',
42+
path: 'commonjs path',
43+
os: 'commonjs os',
44+
tls: 'commonjs tls',
4145
},
4246
resolve: {
4347
extensions: ['.ts', '.js'],

0 commit comments

Comments
 (0)