mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
![Matt Bierner](/assets/img/avatar_default.png)
* Add support for TS's Hierarchical refactorings API https://github.com/microsoft/TypeScript/pull/41975 * Add simple browser extension This change adds a new 'simple browser' extension. This extension uses a webview to render webpages directly in VS Code. We plan on using it for optionally previewing local servers in both desktop and codespaces The browser itself has a number of limitations due to the security around iframes: - It traps keyboard focus - We can't detect if a page fails to load - We can't track the current url of the iframe * Add experimental alert when the iframe is focused * Disable events on focus warning * Hooking up simple browser to opener
21 lines
594 B
JavaScript
21 lines
594 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. 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,
|
|
resolve: {
|
|
mainFields: ['module', 'main']
|
|
},
|
|
entry: {
|
|
extension: './src/extension.ts',
|
|
}
|
|
});
|