mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
💄
This commit is contained in:
@@ -40,7 +40,7 @@ function fromLocal(extensionPath) {
|
||||
var patchFilesStream = filesStream
|
||||
.pipe(packageJsonFilter)
|
||||
.pipe(buffer())
|
||||
.pipe(json({ main: './dist/main.bundle' })) // hardcoded entry point!
|
||||
.pipe(json({ main: './out/main.bundle' })) // hardcoded entry point!
|
||||
.pipe(packageJsonFilter.restore);
|
||||
var webpackConfig = require(path.join(extensionPath, 'extension.webpack.config.js'));
|
||||
var webpackStream = webpackGulp(webpackConfig, webpack)
|
||||
|
||||
@@ -46,7 +46,7 @@ export function fromLocal(extensionPath: string): Stream {
|
||||
const patchFilesStream = filesStream
|
||||
.pipe(packageJsonFilter)
|
||||
.pipe(buffer())
|
||||
.pipe(json({ main: './dist/main.bundle' })) // hardcoded entry point!
|
||||
.pipe(json({ main: './out/main.bundle' })) // hardcoded entry point!
|
||||
.pipe(packageJsonFilter.restore);
|
||||
|
||||
const webpackConfig = require(path.join(extensionPath, 'extension.webpack.config.js'));
|
||||
|
||||
@@ -14,11 +14,11 @@ module.exports = {
|
||||
context: __dirname,
|
||||
entry: {
|
||||
main: './out/main.js',
|
||||
askpass: './out/askpass-main.js'
|
||||
['askpass-main']: './out/askpass-main.js'
|
||||
},
|
||||
output: {
|
||||
filename: '[name].bundle.js',
|
||||
path: path.join(__dirname, 'dist'),
|
||||
path: path.join(__dirname, 'out'),
|
||||
libraryTarget: "commonjs"
|
||||
},
|
||||
externals: {
|
||||
|
||||
Reference in New Issue
Block a user