mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
Load process polyfill automatically, required by util (#7156)
Fixes #7150
This commit is contained in:
parent
cf6673f2c1
commit
3d37bb4898
8
.vscode/launch.json
vendored
8
.vscode/launch.json
vendored
@ -38,6 +38,14 @@
|
||||
"outFiles": ["${workspaceRoot}/{out, node_modules}/**/*.js"],
|
||||
"preLaunchTask": "gulp: prepare-test",
|
||||
"internalConsoleOptions": "openOnSessionStart"
|
||||
},
|
||||
{
|
||||
"name": "Run Web Extension",
|
||||
"type": "pwa-extensionHost",
|
||||
"debugWebWorkerHost": true,
|
||||
"request": "launch",
|
||||
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionDevelopmentKind=web"],
|
||||
"outFiles": ["${workspaceRoot}/{out, node_modules}/**/*.js"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -116,6 +116,9 @@ const nodelessConfig = {
|
||||
new webpack.IgnorePlugin({
|
||||
resourceRegExp: /child_process$/,
|
||||
}),
|
||||
new webpack.ProvidePlugin({
|
||||
process: 'process/browser', // util requires this internally
|
||||
}),
|
||||
new ForkTsCheckerWebpackPlugin(),
|
||||
],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user