Skip to content

Commit

Permalink
Improve codion.ttf replace
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Sep 12, 2022
1 parent 243f10a commit 24fa0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sprotty/build/src/buildCodicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function transformCodicon() {
return;
}
const ttfData = `data:font/ttf;base64,${dataTtf}`;
let alteredCssData = cssData.replace('"./codicon.ttf?0e5b0adf625a37fbcd638d31f0fe72aa"', ttfData);
let alteredCssData = cssData.replace(/\"\.\/codicon\.ttf.*\"/gi, ttfData);
const licRef = `/* See license here:
* https://github.com/microsoft/vscode-codicons/blob/main/LICENSE-CODE
* https://github.com/microsoft/vscode-codicons/blob/main/LICENSE
Expand Down

0 comments on commit 24fa0d0

Please sign in to comment.