Skip to content

Unable to create sprites.  #4054

Closed
Closed

Description

@neha-s16

OS?

Virtual Box running Linux 4.8.0-26-generic on Windows 10

Versions.

angular-cli: 1.0.0-beta.21
node: 7.2.1
os: linux x64

Repro steps.

  1. App created using angular-cli.
  2. Copy normal and retina images in assets/images/common/normal and assets/images/common/retina folders respectively.
  3. Run ng-build

No log generated / no console errors. Images are copied to dist folder but sprites are not generated.

Activity

  1. filipesilva commented on Jan 16, 2017

    @filipesilva
    Contributor

    Ok I was totally misunderstanding the usecase. Now that I went to look up sprite tools for webpack (like https://github.com/kezoo/sprite-webpack-plugin) I understand this better.

    No, there is no CLI support for sprites currently. I'll mark it as a feature request.

  2. added
    P5The team acknowledges the request but does not plan to address it, it remains open for discussion
    featureLabel used to distinguish feature request from other issues
    on Jan 16, 2017
  3. neha-s16 commented on Jan 16, 2017

    @neha-s16
    Author

    Thanks.

    It would be a good to have feature for sure. Can I use https://github.com/kezoo/sprite-webpack-plugin or https://www.npmjs.com/package/sprity to generate sprites as of now? I am trying to configure sprity with angular-cli.json. Any other ideas on what can work?

  4. filipesilva commented on Jan 17, 2017

    @filipesilva
    Contributor

    There is no way to extend extend the webpack config or build system, but I can see sprity being ran manually.

  5. filipesilva commented on May 22, 2017

    @filipesilva
    Contributor

    This is something that could be added as an addon, when the addon system is available (#2906).

  6. lucaswxp commented on Aug 12, 2017

    @lucaswxp

    From what I understood, there's no way to automatically generate sprites in angular-cli?

  7. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionfeatureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions