ceri-icon
Version:
webpack based - load only what you need - svg inline icons
18 lines (13 loc) • 318 B
JavaScript
var iconsPath, path;
path = require("path");
if (path.extname(__filename) === ".coffee") {
try {
require("coffeescript/register");
} catch (error) {
try {
require("coffee-script/register");
} catch (error) {}
}
}
iconsPath = "../icons";
module.exports = path.resolve(__dirname, iconsPath);