diff --git a/extensions/debug-auto-launch/.vscodeignore b/extensions/debug-auto-launch/.vscodeignore index fccc815f34bf7..36e8b0714faf4 100644 --- a/extensions/debug-auto-launch/.vscodeignore +++ b/extensions/debug-auto-launch/.vscodeignore @@ -1,3 +1,5 @@ src/** tsconfig.json +out/** +extension.webpack.config.js yarn.lock \ No newline at end of file diff --git a/extensions/debug-auto-launch/extension.webpack.config.js b/extensions/debug-auto-launch/extension.webpack.config.js new file mode 100644 index 0000000000000..b474e65cbb130 --- /dev/null +++ b/extensions/debug-auto-launch/extension.webpack.config.js @@ -0,0 +1,20 @@ +/*--------------------------------------------------------------------------------------------- + * 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, + entry: { + extension: './src/extension.ts', + }, + resolve: { + mainFields: ['module', 'main'] + } +}); diff --git a/extensions/grunt/.vscodeignore b/extensions/grunt/.vscodeignore index 7ab0ed662846f..9d384dd906105 100644 --- a/extensions/grunt/.vscodeignore +++ b/extensions/grunt/.vscodeignore @@ -1,4 +1,6 @@ test/** src/** tsconfig.json +out/** +extension.webpack.config.js yarn.lock \ No newline at end of file diff --git a/extensions/grunt/extension.webpack.config.js b/extensions/grunt/extension.webpack.config.js new file mode 100644 index 0000000000000..beee7b3d6762e --- /dev/null +++ b/extensions/grunt/extension.webpack.config.js @@ -0,0 +1,20 @@ +/*--------------------------------------------------------------------------------------------- + * 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, + entry: { + main: './src/main.ts', + }, + resolve: { + mainFields: ['module', 'main'] + } +}); diff --git a/extensions/gulp/.vscodeignore b/extensions/gulp/.vscodeignore index fccc815f34bf7..36e8b0714faf4 100644 --- a/extensions/gulp/.vscodeignore +++ b/extensions/gulp/.vscodeignore @@ -1,3 +1,5 @@ src/** tsconfig.json +out/** +extension.webpack.config.js yarn.lock \ No newline at end of file diff --git a/extensions/gulp/extension.webpack.config.js b/extensions/gulp/extension.webpack.config.js new file mode 100644 index 0000000000000..beee7b3d6762e --- /dev/null +++ b/extensions/gulp/extension.webpack.config.js @@ -0,0 +1,20 @@ +/*--------------------------------------------------------------------------------------------- + * 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, + entry: { + main: './src/main.ts', + }, + resolve: { + mainFields: ['module', 'main'] + } +}); diff --git a/extensions/jake/.vscodeignore b/extensions/jake/.vscodeignore index fccc815f34bf7..36e8b0714faf4 100644 --- a/extensions/jake/.vscodeignore +++ b/extensions/jake/.vscodeignore @@ -1,3 +1,5 @@ src/** tsconfig.json +out/** +extension.webpack.config.js yarn.lock \ No newline at end of file diff --git a/extensions/jake/extension.webpack.config.js b/extensions/jake/extension.webpack.config.js new file mode 100644 index 0000000000000..beee7b3d6762e --- /dev/null +++ b/extensions/jake/extension.webpack.config.js @@ -0,0 +1,20 @@ +/*--------------------------------------------------------------------------------------------- + * 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, + entry: { + main: './src/main.ts', + }, + resolve: { + mainFields: ['module', 'main'] + } +}); diff --git a/extensions/markdown-language-features/.vscodeignore b/extensions/markdown-language-features/.vscodeignore index f160e56011ad2..28cda32acfc09 100644 --- a/extensions/markdown-language-features/.vscodeignore +++ b/extensions/markdown-language-features/.vscodeignore @@ -6,3 +6,5 @@ out/** extension.webpack.config.js OSSREADME.json yarn.lock +preview-src/** +webpack.config.js