mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Reduce packaged size of extensions (#4300)
* reduce output of notebooks * reduce size of azurecore * update mssql extensions to be webpacked * formatting * remove commented code * fix packaged config * fix mssql packing
This commit is contained in:
24
extensions/mssql/extension.webpack.config.js
Normal file
24
extensions/mssql/extension.webpack.config.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
//@ts-check
|
||||
|
||||
'use strict';
|
||||
|
||||
const withDefaults = require('../shared.webpack.config');
|
||||
|
||||
module.exports = withDefaults({
|
||||
context: __dirname,
|
||||
entry: {
|
||||
main: './src/main.ts'
|
||||
},
|
||||
externals: {
|
||||
'clipboardy': 'commonjs clipboardy',
|
||||
'dataprotocol-client': 'commonjs dataprotocol-client',
|
||||
'vscode-languageclient': 'commonjs vscode-languageclient',
|
||||
'vscode-extension-telemetry': 'commonjs vscode-extension-telemetry',
|
||||
'request': 'commonjs request',
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user