### 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
filipesilva commentedon Jan 16, 2017
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.
neha-s16 commentedon Jan 16, 2017
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 commentedon Jan 17, 2017
There is no way to extend extend the webpack config or build system, but I can see
spritybeing ran manually.filipesilva commentedon May 22, 2017
This is something that could be added as an addon, when the addon system is available (#2906).
lucaswxp commentedon Aug 12, 2017
From what I understood, there's no way to automatically generate sprites in angular-cli?
angular-automatic-lock-bot commentedon Sep 7, 2019
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.