We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello!
When installing a package locally (npm link @package-name), files are not processed by SVGO.
We use custom plugin to console list of files
export default { svgoConfig: { plugins: [ { name: 'preset-default', }, { name: 'removeAttrs', params: { attrs: '(fill|stroke|stroke-width)' }, }, { name: 'addAttributesToSVGElement', params: { attributes: [{ fill: 'none' }, { stroke: 'none' }], }, }, { name: 'customPlugin', params: { paramName: 'paramValue', }, fn: (ast, params, info) => { console.log(info) }, }, ], }, }
console.log(info) — displays only files that are in the src folder of the project
console.log(info)
But if you install the package directly via npm (npm install @package-name) everything will work.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello!
When installing a package locally (npm link @package-name), files are not processed by SVGO.
We use custom plugin to console list of files
console.log(info)
— displays only files that are in the src folder of the projectBut if you install the package directly via npm (npm install @package-name) everything will work.
The text was updated successfully, but these errors were encountered: