Skip to content

Commit

Permalink
BROKEN: new SVGO
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jun 10, 2024
1 parent de25da1 commit b2cdb05
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 40 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs/promises');
const path = require('path');
const process = require('process');
const sirv = require('sirv-cli');
const { version: SVGO_VERSION } = require('svgo/package.json');
const { VERSION: SVGO_VERSION } = require('svgo/package.json');
const sass = require('sass');
const CleanCSS = require('clean-css');
const vinylMap = require('vinyl-map');
Expand Down
71 changes: 34 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"size-limit": "^8.1.0",
"stylelint": "^14.14.0",
"stylelint-config-twbs-bootstrap": "^6.0.0",
"svgo": "^3.0.0",
"svgo": "^4.0.0-rc.0",
"vinyl-map": "^1.0.2",
"xo": "^0.52.4"
},
Expand Down
2 changes: 1 addition & 1 deletion src/js/svgo-worker/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { optimize } from 'svgo/dist/svgo.browser.js';
import { optimize } from 'svgo/browser.js';

const createDimensionsExtractor = () => {
const dimensions = {};
Expand Down

0 comments on commit b2cdb05

Please sign in to comment.