UNPKG

@ramirezcgn/fantasticon

Version:

Fork of fantasticon that implements a forked version of svgicons2svgfont that support more options than the original.

34 lines 1.15 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_OPTIONS = exports.DEFAULT_START_CODEPOINT = exports.TEMPLATES_DIR = void 0; const path_1 = require("path"); const misc_1 = require("./types/misc"); const icon_id_1 = require("./utils/icon-id"); exports.TEMPLATES_DIR = (0, path_1.resolve)(__dirname, '../templates'); exports.DEFAULT_START_CODEPOINT = 0xf101; exports.DEFAULT_OPTIONS = { name: 'icons', fontTypes: [misc_1.FontAssetType.EOT, misc_1.FontAssetType.WOFF2, misc_1.FontAssetType.WOFF], assetTypes: [ misc_1.OtherAssetType.CSS, misc_1.OtherAssetType.HTML, misc_1.OtherAssetType.JSON, misc_1.OtherAssetType.TS ], formatOptions: { json: { indent: 4 } }, pathOptions: {}, templates: {}, startCodepoint: exports.DEFAULT_START_CODEPOINT, codepoints: {}, round: undefined, fontHeight: 300, descent: undefined, normalize: undefined, preserveAspectRatio: undefined, selector: null, tag: 'i', prefix: 'icon', fontsUrl: undefined, getIconId: icon_id_1.getIconId }; //# sourceMappingURL=constants.js.map