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.

[Extension Proposal] Web Assets extension

See original GitHub issue

Description

It would deal with everything for a webapp but html

  • scss to css
  • fonts
  • javascript (minification…)
  • image optim

It’s a missing piece for Renarde, but at the same time it should be usable without it, so better have an extension for it.

It could be consumed directly by Qute template through helper tags, something like this (and equivalent for style and all):

{#web-assets script="my-script.js" /}

would render:


<script>
	content of my-script.js
</script>
{#web-assets script="my-script.js" served /}

would render:

<script src="/webmedia/my-script.js">
	content
</script>

This extension would also provide entrypoint for other extensions to use its features.

Repository name

quarkus-web-assets

Short description

Provide processing and helpers for you web-app assets (js, css, scss, …).

Repository Homepage URL

https://quarkiverse.github.io/quarkiverse-docs/quarkus-web-assets/dev/

Repository Topics

  • quarkus-extension
  • web
  • assets
  • frontend
  • renarde

Team Members

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:24 (19 by maintainers)

github_iconTop GitHub Comments

4reactions
ia3andycommented, Oct 27, 2022

I thought the traditional overarching name for scripts, stylesheets, image atlases etc. is assets, but resources is also fine. I agree with Max that media sounds like something else [to me].

yeah you are right Lad quarkus-web-assets is a good name

2reactions
ia3andycommented, Oct 27, 2022

as we might have new quarkus-web-... in the future I would vote for quarkus-web-assets

Read more comments on GitHub >

github_iconTop Results From Across the Web

stac-extensions/alternate-assets - GitHub
The Alternate Assets extension to STAC provides a way to specify alternate locations (e.g., URLs) for assets. Sometimes, assets can be retrieved via ......
Read more >
STAC Extensions | stac-extensions.github.io
Title Field Name Prefix Scope Maturity Version Accuracy accuracy Collection, Item WIP Unreleased Aerial Photography* aerial‑photo Collection, Item WIP Unknown Alternate Assets ‑ Asset Proposal 1.1.0...
Read more >
Asset-based extensions - Ads API - Google Developers
Here are the current extensions that support assets, with more being added later: Call; Callout; Hotel Callout; Lead Form; Mobile App; Price; Promotion ......
Read more >
Extension of Due Date for Competitive Proposals | FTA
Extension of Due Date for Competitive Proposals. Frequently Asked Questions. Is there a rule against extending the proposal due date in response to...
Read more >
notice of proposed rulemaking (the “NPRM” - Regulations.gov
Notice of proposed rulemaking; extension of comment period. ... currency (“CVC”) or digital assets with legal tender status (“LTDA”).
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