Skip to content
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

stencil.assetsRoot property proposal #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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