How to use vscode-azureextensiondev - 6 common examples

To help you get started, we’ve selected a few vscode-azureextensiondev examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / vscode-azurearmtools / webpack.config.js View on Github external
*  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.md in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

//@ts-check

// See https://github.com/Microsoft/vscode-azuretools/wiki/webpack for guidance

'use strict';

const process = require('process');
const dev = require("vscode-azureextensiondev");

let DEBUG_WEBPACK = !!process.env.DEBUG_WEBPACK;

let config = dev.getDefaultWebpackConfig({
    projectRoot: __dirname,
    verbosity: DEBUG_WEBPACK ? 'debug' : 'normal'
});

if (DEBUG_WEBPACK) {
    console.log('Config:', config);
}

module.exports = config;
github microsoft / vscode-cosmosdb / webpack.config.js View on Github external
//@ts-check

// See https://github.com/Microsoft/vscode-azuretools/wiki/webpack for guidance

'use strict';

const process = require('process');
const webpack = require('webpack');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const StringReplacePlugin = require("string-replace-webpack-plugin");
const dev = require("vscode-azureextensiondev");

let DEBUG_WEBPACK = !!process.env.DEBUG_WEBPACK;

let config = dev.getDefaultWebpackConfig({
    projectRoot: __dirname,
    verbosity: DEBUG_WEBPACK ? 'debug' : 'normal',

    externalNodeModules: [
        // Modules that we can't easily webpack for some reason.
        // These and their dependencies will be copied into node_modules rather than placed in the bundle
        // Keep this list small, because all the subdependencies will also be excluded
        'require_optional',
        'gremlin',
        'socket.io',
        'mongodb',

        // Needed by graphClient.html
        'd3'
    ],
    entries: {
github microsoft / vscode-azurearmtools / gulpfile.ts View on Github external
exports['webpack-dev'] = () => gulp_webpack('development');
exports['webpack-prod'] = () => gulp_webpack('production');
github microsoft / vscode-azurearmtools / gulpfile.ts View on Github external
exports['webpack-prod'] = () => gulp_webpack('production');
exports.test = gulp.series(gulp_installAzureAccount, test);
github microsoft / vscode-cosmosdb / gulpfile.ts View on Github external
exports['webpack-dev'] = () => gulp_webpack('development');
exports['webpack-prod'] = () => gulp_webpack('production');
github microsoft / vscode-cosmosdb / gulpfile.ts View on Github external
exports['webpack-prod'] = () => gulp_webpack('production');
exports.test = gulp.series(gulp_installAzureAccount, test);

vscode-azureextensiondev

Common dev dependency tools for developing Azure extensions for VS Code

MIT
Latest version published 3 years ago

Package Health Score

58 / 100
Full package analysis