simple-icons/scripts/build/templates/index.js
Álvaro Mondéjar e0a4e765ad
Reuse svg getter package template parts (#7457)
* Reuse svg getter package template parts
2022-05-27 15:09:33 +02:00

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;