Skip to content

Commit f75e690

Browse files
authored
fix(vscode-extension): fix Tact file icons (#168)
Fixes #148
1 parent 23fedae commit f75e690

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
".tact"
5555
],
5656
"icon": {
57-
"light": "./icons/icon-light.svg",
58-
"dark": "./icons/icon-dark.svg"
57+
"light": "./dist/icons/icon-light.svg",
58+
"dark": "./dist/icons/icon-dark.svg"
5959
},
6060
"configuration": "./language-configuration.json"
6161
},
@@ -68,8 +68,8 @@
6868
".fif"
6969
],
7070
"icon": {
71-
"light": "./icons/ton-icon.svg",
72-
"dark": "./icons/ton-icon.svg"
71+
"light": "./dist/icons/ton-icon.svg",
72+
"dark": "./dist/icons/ton-icon.svg"
7373
},
7474
"configuration": "./fift-language-configuration.json"
7575
}

webpack.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ const config = {
5858
{from: "./stubs/stubs.tact", to: path.join(distDir, "stubs")},
5959
{from: "./tree-sitter-tact/tree-sitter-tact.wasm", to: distDir},
6060
{from: "./tree-sitter-fift/tree-sitter-fift.wasm", to: distDir},
61-
{from: "./icons/ton-icon.svg", to: distDir},
61+
{from: "./icons/ton-icon.svg", to: path.join(distDir, "icons")},
62+
{from: "./icons/icon-light.svg", to: path.join(distDir, "icons")},
63+
{from: "./icons/icon-dark.svg", to: path.join(distDir, "icons")},
6264
{
6365
from: "server/src/completion/data/asm.json",
6466
to: distDir,

0 commit comments

Comments
 (0)