svgo
svgo copied to clipboard
fix: fixed Config definition for node
Re export Config definition for node module.
Just thinking out loud here, can't you just export from directly instead of importing and then exporting?
EDIT: NVM, the import is used elsewhere, sorry for the noise :)
@XhmikosR
import { Config, optimize } from './svgo';
export { Config, optimize };
are equal to
export { Config, optimize } from './svgo';
Directly export is just a syntax sugar for reexport variables that are not used in the current code.
Hey, thanks for submitting the PR! I've rebased for you and amended the commit to export everything instead, which matches the exports in previous versions.