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
|
var patchFilesStream = filesStream
|
||||||
.pipe(packageJsonFilter)
|
.pipe(packageJsonFilter)
|
||||||
.pipe(buffer())
|
.pipe(buffer())
|
||||||
.pipe(json({ main: './dist/main.bundle' })) // hardcoded entry point!
|
.pipe(json({ main: './out/main.bundle' })) // hardcoded entry point!
|
||||||
.pipe(packageJsonFilter.restore);
|
.pipe(packageJsonFilter.restore);
|
||||||
var webpackConfig = require(path.join(extensionPath, 'extension.webpack.config.js'));
|
var webpackConfig = require(path.join(extensionPath, 'extension.webpack.config.js'));
|
||||||
var webpackStream = webpackGulp(webpackConfig, webpack)
|
var webpackStream = webpackGulp(webpackConfig, webpack)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ export function fromLocal(extensionPath: string): Stream {
|
|||||||
const patchFilesStream = filesStream
|
const patchFilesStream = filesStream
|
||||||
.pipe(packageJsonFilter)
|
.pipe(packageJsonFilter)
|
||||||
.pipe(buffer())
|
.pipe(buffer())
|
||||||
.pipe(json({ main: './dist/main.bundle' })) // hardcoded entry point!
|
.pipe(json({ main: './out/main.bundle' })) // hardcoded entry point!
|
||||||
.pipe(packageJsonFilter.restore);
|
.pipe(packageJsonFilter.restore);
|
||||||
|
|
||||||
const webpackConfig = require(path.join(extensionPath, 'extension.webpack.config.js'));
|
const webpackConfig = require(path.join(extensionPath, 'extension.webpack.config.js'));
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ module.exports = {
|
|||||||
context: __dirname,
|
context: __dirname,
|
||||||
entry: {
|
entry: {
|
||||||
main: './out/main.js',
|
main: './out/main.js',
|
||||||
askpass: './out/askpass-main.js'
|
['askpass-main']: './out/askpass-main.js'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
filename: '[name].bundle.js',
|
filename: '[name].bundle.js',
|
||||||
path: path.join(__dirname, 'dist'),
|
path: path.join(__dirname, 'out'),
|
||||||
libraryTarget: "commonjs"
|
libraryTarget: "commonjs"
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
|
|||||||
Reference in New Issue
Block a user