Browse Source

Changes built output to be gitlens.js

Helps avoid source map conflicts with other extensions
main
Eric Amodio 4 years ago
parent
commit
79a7d266dd
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      package.json
  2. +1
    -1
      webpack.config.js

+ 1
- 1
package.json View File

@ -20,7 +20,7 @@
"engines": { "engines": {
"vscode": "^1.45.1" "vscode": "^1.45.1"
}, },
"main": "./dist/extension",
"main": "./dist/gitlens",
"icon": "images/gitlens-icon.png", "icon": "images/gitlens-icon.png",
"preview": false, "preview": false,
"badges": [ "badges": [

+ 1
- 1
webpack.config.js View File

@ -139,7 +139,7 @@ function getExtensionConfig(mode, env) {
devtool: 'source-map', devtool: 'source-map',
output: { output: {
libraryTarget: 'commonjs2', libraryTarget: 'commonjs2',
filename: 'extension.js',
filename: 'gitlens.js',
chunkFilename: 'feature-[name].js', chunkFilename: 'feature-[name].js',
}, },
optimization: { optimization: {

Loading…
Cancel
Save