Sfoglia il codice sorgente

Changes built output to be gitlens.js

Helps avoid source map conflicts with other extensions
main
Eric Amodio 4 anni fa
parent
commit
79a7d266dd
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      package.json
  2. +1
    -1
      webpack.config.js

+ 1
- 1
package.json Vedi File

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

+ 1
- 1
webpack.config.js Vedi File

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

Caricamento…
Annulla
Salva