mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
webpack - more defaults for extensions
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
const sharedConfig = require('../shared.webpack.config');
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
|
||||
const myConfig = {
|
||||
context: __dirname,
|
||||
entry: {
|
||||
extension: './src/extension.ts',
|
||||
},
|
||||
externals: {
|
||||
'vscode': 'commonjs vscode', // ignored because it doesn't exist
|
||||
'@emmetio/css-parser': 'commonjs @emmetio/css-parser',
|
||||
'@emmetio/html-matcher': 'commonjs @emmetio/html-matcher',
|
||||
'@emmetio/math-expression': 'commonjs @emmetio/math-expression',
|
||||
@@ -21,4 +21,4 @@ const myConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = { ...sharedConfig(__dirname), ...myConfig };
|
||||
module.exports = withDefaults(myConfig);
|
||||
|
||||
Reference in New Issue
Block a user