source: trip-planner-front/node_modules/svgo/plugins/preset-default.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.9 KB
Line 
1'use strict';
2
3const { createPreset } = require('../lib/svgo/plugins.js');
4
5const removeDoctype = require('./removeDoctype.js');
6const removeXMLProcInst = require('./removeXMLProcInst.js');
7const removeComments = require('./removeComments.js');
8const removeMetadata = require('./removeMetadata.js');
9const removeEditorsNSData = require('./removeEditorsNSData.js');
10const cleanupAttrs = require('./cleanupAttrs.js');
11const mergeStyles = require('./mergeStyles.js');
12const inlineStyles = require('./inlineStyles.js');
13const minifyStyles = require('./minifyStyles.js');
14const cleanupIDs = require('./cleanupIDs.js');
15const removeUselessDefs = require('./removeUselessDefs.js');
16const cleanupNumericValues = require('./cleanupNumericValues.js');
17const convertColors = require('./convertColors.js');
18const removeUnknownsAndDefaults = require('./removeUnknownsAndDefaults.js');
19const removeNonInheritableGroupAttrs = require('./removeNonInheritableGroupAttrs.js');
20const removeUselessStrokeAndFill = require('./removeUselessStrokeAndFill.js');
21const removeViewBox = require('./removeViewBox.js');
22const cleanupEnableBackground = require('./cleanupEnableBackground.js');
23const removeHiddenElems = require('./removeHiddenElems.js');
24const removeEmptyText = require('./removeEmptyText.js');
25const convertShapeToPath = require('./convertShapeToPath.js');
26const convertEllipseToCircle = require('./convertEllipseToCircle.js');
27const moveElemsAttrsToGroup = require('./moveElemsAttrsToGroup.js');
28const moveGroupAttrsToElems = require('./moveGroupAttrsToElems.js');
29const collapseGroups = require('./collapseGroups.js');
30const convertPathData = require('./convertPathData.js');
31const convertTransform = require('./convertTransform.js');
32const removeEmptyAttrs = require('./removeEmptyAttrs.js');
33const removeEmptyContainers = require('./removeEmptyContainers.js');
34const mergePaths = require('./mergePaths.js');
35const removeUnusedNS = require('./removeUnusedNS.js');
36const sortDefsChildren = require('./sortDefsChildren.js');
37const removeTitle = require('./removeTitle.js');
38const removeDesc = require('./removeDesc.js');
39
40const presetDefault = createPreset({
41 name: 'presetDefault',
42 plugins: [
43 removeDoctype,
44 removeXMLProcInst,
45 removeComments,
46 removeMetadata,
47 removeEditorsNSData,
48 cleanupAttrs,
49 mergeStyles,
50 inlineStyles,
51 minifyStyles,
52 cleanupIDs,
53 removeUselessDefs,
54 cleanupNumericValues,
55 convertColors,
56 removeUnknownsAndDefaults,
57 removeNonInheritableGroupAttrs,
58 removeUselessStrokeAndFill,
59 removeViewBox,
60 cleanupEnableBackground,
61 removeHiddenElems,
62 removeEmptyText,
63 convertShapeToPath,
64 convertEllipseToCircle,
65 moveElemsAttrsToGroup,
66 moveGroupAttrsToElems,
67 collapseGroups,
68 convertPathData,
69 convertTransform,
70 removeEmptyAttrs,
71 removeEmptyContainers,
72 mergePaths,
73 removeUnusedNS,
74 sortDefsChildren,
75 removeTitle,
76 removeDesc,
77 ],
78});
79
80module.exports = presetDefault;
Note: See TracBrowser for help on using the repository browser.