Skip to content
New issue

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

Svg generator with folders not work properly #131

Open
DenDiem opened this issue Apr 7, 2023 · 0 comments
Open

Svg generator with folders not work properly #131

DenDiem opened this issue Apr 7, 2023 · 0 comments

Comments

@DenDiem
Copy link

DenDiem commented Apr 7, 2023

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

In version 2.0 i can have folders inside folders and all work fine - in 6.0 version a got error and incorected file path and index.
In the image this is index.ts in the "root" forlder

image

Expected behavior

all work like in version 2.0 ( folders inside folder not create additional rows in main index.ts file - all are separately

Minimal reproduction of the problem with instructions

  "svgGenerator": {
    "outputPath": "./src/app/utils/svg",
    "prefix": "fms",
    "srcPath": "./src/assets/svg",
    "rootBarrelFile": false,
    "svgoConfig": {
      "plugins": [
        "removeDimensions",
        "cleanupNumericValues",
        "reusePaths",
        {
          "name": "convertColors",
          "params": {
            "currentColor": true
          }
        }
      ]
    }
  }

Environment


Angular version: 13.1.2
"@ngneat/svg-generator": "^6.0.0",


 
For Tooling issues:
- Node version: v18.15.0
- Platform:  Windows


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant