Skip to content

Unable to create sprites. #4054

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

Closed
neha-s16 opened this issue Jan 16, 2017 · 6 comments
Closed

Unable to create sprites. #4054

neha-s16 opened this issue Jan 16, 2017 · 6 comments
Labels
feature Issue that requests a new feature P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@neha-s16
Copy link

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.

@filipesilva
Copy link
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.

@filipesilva filipesilva added command: build P5 The team acknowledges the request but does not plan to address it, it remains open for discussion feature Issue that requests a new feature labels Jan 16, 2017
@neha-s16
Copy link
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?

@filipesilva
Copy link
Contributor

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

@filipesilva
Copy link
Contributor

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

@lucaswxp
Copy link

lucaswxp commented Aug 12, 2017

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

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

No branches or pull requests

3 participants