mirror of
https://github.com/lenaschimmel/queerallyear
synced 2024-11-10 05:54:13 +00:00
Disabled optimizations which are incompatible with inkscape 0.91 - they work just fine with 0.92
This commit is contained in:
parent
d1a3906e20
commit
ccf5612a62
1 changed files with 4 additions and 4 deletions
|
@ -15,13 +15,13 @@ const flags = require('../tool/flags.js');
|
||||||
const enabledPlugins = [
|
const enabledPlugins = [
|
||||||
"cleanupAttrs", "removeDoctype", "removeXMLProcInst", "removeComments", "removeMetadata", "removeTitle", "removeDesc",
|
"cleanupAttrs", "removeDoctype", "removeXMLProcInst", "removeComments", "removeMetadata", "removeTitle", "removeDesc",
|
||||||
"removeUselessDefs", "removeEditorsNSData", "removeEmptyAttrs", "removeHiddenElems", "removeEmptyText",
|
"removeUselessDefs", "removeEditorsNSData", "removeEmptyAttrs", "removeHiddenElems", "removeEmptyText",
|
||||||
"removeEmptyContainers", "cleanupEnableBackground", "convertStyleToAttrs", "convertColors", "convertPathData",
|
"removeEmptyContainers", "cleanupEnableBackground", "convertStyleToAttrs", "convertColors",
|
||||||
"convertTransform", "removeUnknownsAndDefaults", "removeNonInheritableGroupAttrs", "removeUselessStrokeAndFill",
|
"convertTransform", "removeUnknownsAndDefaults", "removeNonInheritableGroupAttrs", "removeUselessStrokeAndFill",
|
||||||
"removeUnusedNS", "cleanupNumericValues", "moveElemsAttrsToGroup", "moveGroupAttrsToElems", "collapseGroups", "mergePaths",
|
"removeUnusedNS", "cleanupNumericValues", "moveElemsAttrsToGroup", "moveGroupAttrsToElems", "collapseGroups", "mergePaths",
|
||||||
"convertShapeToPath", "sortAttrs", "removeDimensions"
|
"sortAttrs", "removeDimensions"
|
||||||
];
|
];
|
||||||
|
|
||||||
const disabledPlugins = ["removeViewBox", "cleanupIDs", "removeRasterImages"];
|
const disabledPlugins = ["removeViewBox", "cleanupIDs", "removeRasterImages", "convertPathData", "convertShapeToPath"];
|
||||||
|
|
||||||
function createPluginsArray(enabled, disabled) {
|
function createPluginsArray(enabled, disabled) {
|
||||||
var array = [];
|
var array = [];
|
||||||
|
@ -220,4 +220,4 @@ app.get('/design/download', async function (req, res) {
|
||||||
|
|
||||||
app.listen(8000, function () {
|
app.listen(8000, function () {
|
||||||
console.log('Example app listening on port 8000!');
|
console.log('Example app listening on port 8000!');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue