Skip to content

Commit 679e5be

Browse files
committed
Configure the build process to strip the first four lines from the README file
1 parent f79e3aa commit 679e5be

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

packages/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat (CWC)",
44
"description": "Connect your editor with 10+ chatbots",
5-
"version": "1.152.0",
5+
"version": "1.153.0",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "npm run compile",

packages/vscode/webpack.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ const config = [
6868
patterns: [
6969
{
7070
from: '../../README.md',
71-
to: '../README.md'
71+
to: '../README.md',
72+
transform(content) {
73+
return content.toString().split('\n').slice(4).join('\n')
74+
}
7275
}
7376
]
7477
})

0 commit comments

Comments
 (0)