1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-10-30 23:07:47 +02:00

deprecate index (#7453)

This commit is contained in:
Sachin Raja
2022-05-26 23:18:44 -07:00
committed by GitHub
parent 665b82590d
commit 986589c34c
3 changed files with 6 additions and 26 deletions

View File

@@ -1,3 +1,5 @@
console.warn('Deprecation warning: The `simple-icons` entrypoint will be removed in the next major. Please switch to using `import * as icons from "simple-icons/icons"` if you need an object with all the icons.')
var icons = {%s};
Object.defineProperty(icons, "Get", {