mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-17 19:04:13 +03:00
e0a4e765ad
* Reuse svg getter package template parts
15 lines
391 B
JavaScript
15 lines
391 B
JavaScript
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.')
|
|
|
|
%s
|
|
|
|
var icons = {%s};
|
|
|
|
Object.defineProperty(icons, "Get", {
|
|
enumerable: false,
|
|
value: function(targetName) {
|
|
return icons[targetName];
|
|
}
|
|
});
|
|
|
|
module.exports = icons;
|