question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include assets in the package (images,...)

See original GitHub issue

Type of Issue

[ ] Bug Report
[X ] Feature Request

Description

I’m currently building a shared library and it seems there is no way to include custom assets with ng-packagr. Would it be possible to have this feature built in or do we have to use an external tool for this ?

Expected Behaviour

Possibility to specify patterns for assets to include.

Version Information

ng-packagr: v2.0.0

Thank you very much for this already awesome lib !

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

17reactions
ronnyekcommented, Jan 26, 2018

If this just worked like angular-cli.json asset configuration where it could just take /somelib/assets/* and copy that to the output of that lib’s assets folder that would be delightful

0reactions
github-actions[bot]commented, Jun 19, 2020

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

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding assets and images - Flutter documentation
How to use images (and other assets) in your Flutter app. ... Such files are then included in the asset bundle along with...
Read more >
Flutter - Asset images in package dependencies
We have the following structure: Package A is a flutter app, It has it's assets folder and is loading assets like this: ...
Read more >
How to include assets (images, videos, ...) in an npm package?
Context I am working on an internal npm library that is used for sharing code across projects. Some of the components use images...
Read more >
Including assets in a Flutter package | by Suragch - Medium
If you are coming to this page wanting to know how to include images, fonts, or other assets in your Flutter app, then...
Read more >
Providing XCAssets Folder in Swift Package Xcode 12
I have a swift package "A" that has an assets folder with a "image". I am able to build a preview and see...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found