-
-
Notifications
You must be signed in to change notification settings - Fork 238
Add docs about asset management #1808
Comments
Should consider |
Hey. I'm trying to use an image in fuse-box 4.0 and can't figure it out. If I do:
It gives "./abc123.png" when it should give "./resources/abc123.png". Also, it renames it which I don't want it to do. I've tried adding this to my cofig:
But it's not copying my assets folder over. I can't figure out how to display an image right now. :/ |
For now I'm just manually copy pasting into dist. |
Add link configuration, There is a bug where it prioritizes it's local config over the global one |
I still haven't figured out how to work around this problem in fuse-box. It seems there should be some very, very simple way to copy files from one folder to another inside dist. Right now I'm trying to use |
For this config: fuse-box/src/config/IDependencies.ts Lines 14 to 19 in 0c30c7b
What would it take to make the following config option possible:
The result being something like so:
I remember this type of stuff was really easy with sparky, but I don't think Sparky is around anymore (Is it?). So maybe this kind of behavior could become part of standard fuse-box. |
The following code does not work:
|
I can't find a single usage of |
Found the issue: fuse-box/src/sparky/sparky_chain.ts Lines 46 to 53 in fe10bf4
For some reason all files that have a It seems like maybe some logic that belongs in the In any case, it no longer appears to be possible to use sparky to simply copy files from one place to another. |
The auto importing topic is covered in one part of the docs, but it would be nice to have a dedicated section. A bit of stuff:
Using a literal import
The text was updated successfully, but these errors were encountered: