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

@neodx/svg Reborn CLI #127

Open
secundant opened this issue Oct 28, 2023 · 0 comments
Open

@neodx/svg Reborn CLI #127

secundant opened this issue Oct 28, 2023 · 0 comments
Assignees
Labels
feature New feature or request scope:svg Issues related to svg

Comments

@secundant
Copy link
Owner

secundant commented Oct 28, 2023

The @neodx/svg CLI is currently not shown in the documentation and readme due to deprecations caused by a lack of control and poor configuration design.
However, some users need to build sprites externally without using bundlers.
Therefore, I need to restructure the configuration practices for @neodx/* and provide a flexible CLI that can be easily configured.

Possible design:

// .neodxrc.js

export default {
  svg: {
    inputRoot: './assets/icons',
    output: './public/sprites',
    // ...
  }
}
yarn sprite
# or
yarn svg build
@secundant secundant self-assigned this Oct 28, 2023
@secundant secundant added scope:svg Issues related to svg feature New feature or request labels Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request scope:svg Issues related to svg
Projects
None yet
Development

No branches or pull requests

1 participant