Eric Amodio 2 роки тому
джерело
коміт
866523966e
2 змінених файлів з 12 додано та 12 видалено
  1. +10
    -10
      package.json
  2. +2
    -2
      webpack.config.js

+ 10
- 10
package.json Переглянути файл

@ -89,6 +89,7 @@
"onCommand:gitlens.showSettingsPage#worktrees-view",
"onCommand:gitlens.showWelcomePage",
"onCommand:gitlens.showBranchesView",
"onCommand:gitlens.showCommitDetailsView",
"onCommand:gitlens.showCommitsView",
"onCommand:gitlens.showContributorsView",
"onCommand:gitlens.showFileHistoryView",
@ -100,7 +101,6 @@
"onCommand:gitlens.showStashesView",
"onCommand:gitlens.showTagsView",
"onCommand:gitlens.showTimelineView",
"onCommand:gitlens.showCommitDetailsView",
"onCommand:gitlens.showWorktreesView",
"onCommand:gitlens.compareWith",
"onCommand:gitlens.compareHeadWith",
@ -3886,6 +3886,11 @@
"category": "GitLens"
},
{
"command": "gitlens.showCommitDetailsView",
"title": "Show Commit Details View",
"category": "GitLens"
},
{
"command": "gitlens.showCommitsView",
"title": "Show Commits View",
"category": "GitLens"
@ -3941,11 +3946,6 @@
"category": "GitLens"
},
{
"command": "gitlens.showCommitDetailsView",
"title": "Show Commit Details View",
"category": "GitLens"
},
{
"command": "gitlens.showWorktreesView",
"title": "Show Worktrees View",
"category": "GitLens"
@ -6201,6 +6201,10 @@
"when": "gitlens:enabled"
},
{
"command": "gitlens.showCommitDetailsView",
"when": "gitlens:enabled"
},
{
"command": "gitlens.showCommitsView",
"when": "gitlens:enabled"
},
@ -6245,10 +6249,6 @@
"when": "gitlens:enabled"
},
{
"command": "gitlens.showCommitDetailsView",
"when": "gitlens:enabled"
},
{
"command": "gitlens.showWorktreesView",
"when": "gitlens:enabled && !gitlens:hasVirtualFolders"
},

+ 2
- 2
webpack.config.js Переглянути файл

@ -257,12 +257,12 @@ function getWebviewsConfig(mode, env) {
},
}),
new MiniCssExtractPlugin({ filename: '[name].css' }),
getHtmlPlugin('commitDetails', false, mode, env),
getHtmlPlugin('home', false, mode, env),
getHtmlPlugin('rebase', false, mode, env),
getHtmlPlugin('settings', false, mode, env),
getHtmlPlugin('timeline', true, mode, env),
getHtmlPlugin('welcome', false, mode, env),
getHtmlPlugin('commitDetails', false, mode, env),
getCspHtmlPlugin(mode, env),
new InlineChunkHtmlPlugin(HtmlPlugin, mode === 'production' ? ['\\.css$'] : []),
new CopyPlugin({
@ -301,12 +301,12 @@ function getWebviewsConfig(mode, env) {
name: 'webviews',
context: basePath,
entry: {
commitDetails: './commitDetails/commitDetails.ts',
home: './home/home.ts',
rebase: './rebase/rebase.ts',
settings: './settings/settings.ts',
timeline: './plus/timeline/timeline.ts',
welcome: './welcome/welcome.ts',
commitDetails: './commitDetails/commitDetails.ts',
},
mode: mode,
target: 'web',

Завантаження…
Відмінити
Зберегти