Skip to content

Conversation

@lancedikson
Copy link

The stencil.assetsRoot property is supposed to standardize the way of working with the assets and make integrations of libraries easier for the users of libraries. For now, there are a lot of discussions going on around this topic. I've also encountered this issue of integration lib's assets with the app, and have come up with a feeling that it would have been so much easier, if it was standardized more strictly, so that any standardized JSON file (in this case package.json) would contain a pointer to the assets root.

It's supposed to be something, that maintainers edit, so they can go with basically any other name for the folder other than assets.

The stencil.assetsRoot property is supposed to standardize the way of working with the assets and make integrations of libraries easier for the users of libraries.
It's supposed to be something, that maintainers edit, so they can go with basically any other name for the folder other than `assets`.
@lancedikson
Copy link
Author

The PR is quite optimistic and more of an RFC :) I believe, there is a lot more other work that has to be done for this to work out — update the docs, maybe come up with specific code that creates a root folder for the assets. But the point is to propose an idea for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant