mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02: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;
|