mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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:
21
extensions/azurecore/extension.webpack.config.js
Normal file
21
extensions/azurecore/extension.webpack.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* 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: {
|
||||
extension: './src/extension.ts'
|
||||
},
|
||||
externals: {
|
||||
'ms-rest': 'commonjs ms-rest',
|
||||
'request': 'commonjs request'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user