Closed nuintun closed 5 months ago
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.
Re export
Config
definition for node module.