adding webpack.config.js

This commit is contained in:
Johannes Rieken
2018-08-07 17:07:01 +02:00
parent 96a0a437b2
commit 34159e797b
5 changed files with 2483 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ export async function activate(context: ExtensionContext): Promise<API> {
commands.registerCommand('git.showOutput', () => outputChannel.show());
disposables.push(outputChannel);
const { name, version, aiKey } = require(context.asAbsolutePath('./package.json')) as { name: string, version: string, aiKey: string };
const { name, version, aiKey } = require('../package.json') as { name: string, version: string, aiKey: string };
const telemetryReporter = new TelemetryReporter(name, version, aiKey);
deactivateTasks.push(() => telemetryReporter.dispose());