Simon André
Simon André
But i mean, did you write it in your importmap.php, or is it injected because somewhere in the main-js file you have something like import('https://...') ? Or any other way...
So in the main.js file there is something like that, right ? ``` import * from "http://localhost:8000/assets/Storefront/helper/feature.helper.js" ``` What i'm trying to figure is the "initial state" to better understand...
Well this may be a challenging project, and i wish you luck. For the path, you can use both Asset and AssetMapper configuration, and i think you'll be able to...
[AssetMapper] Allow importing all entrypoints with importmap twig function without knowing the names
As you define entrypoints manually in your importmap.php file, could you store/reuse this list somewhere ? Or even better, import those files from a main app.js file ? I mean,...
> looks like a rebase is missing :) Dropped all commits but mine.. I have this special power to destroy git histories like no-one.. so please double-check i've not done...
[AssetMapper] Allow importing all entrypoints with importmap twig function without knowing the names
Don't close on my answer.. i just expressed my very personal opiniated reaction 😅 Maybe someone has the same need or think it's a good feature idea :)
There may be a small problem with a "generic" Byte components, it's to set universal rules... that hardly exist today (between industry usage, american "mainstream" ones, scientific ones...) --> https://en.wikipedia.org/wiki/Binary_prefix...
How would that work with the exception mapping already handled ? Would there not be conflicts / priority troubles there ?
If i was not precise enough, i was making allusion to the framework exception map that already exists and... map classes or interfaces to HTTP status / Log level :...
Having recently worked on a similar (but much more limited) subject.. here are some questions :) Disclaimner: all are geniune questions and i have no strong position on any :)...