mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
jsonMain message bundle load failure. Fixes #71144
This commit is contained in:
@@ -11,7 +11,7 @@ const withDefaults = require('../../shared.webpack.config');
|
||||
const path = require('path');
|
||||
var webpack = require('webpack');
|
||||
|
||||
module.exports = withDefaults({
|
||||
const config = withDefaults({
|
||||
context: path.join(__dirname),
|
||||
entry: {
|
||||
extension: './src/jsonServerMain.ts',
|
||||
@@ -19,8 +19,10 @@ module.exports = withDefaults({
|
||||
output: {
|
||||
filename: 'jsonServerMain.js',
|
||||
path: path.join(__dirname, 'dist')
|
||||
},
|
||||
plugins: [
|
||||
new webpack.IgnorePlugin(/vertx/) // request-light dependendeny
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
// add plugin, don't replace inherited
|
||||
config.plugins.push(new webpack.IgnorePlugin(/vertx/)); // request-light dependency
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user