Matthew Bulfair

Results 11 comments of Matthew Bulfair

Yup I'm having the exact same issue with loading a svg from getAssetsPath. It just seems to be looking at app root

It seems this function doesn't do what it's described to do, You can't relatively import a file in a component, and use it as a NPM module on an application....

> So, strangely, it works if you have a leading slash only: > > img src="/assets/img/profile.png" > > No issues whatsoever for me now. But I don't remember it being...

I guess my question is just, if I have a component that includes an asset, and it's in the dist. Someone who installs the component, and used it, that reference...

> I found this way to get the assets of my component into the app where I used just by adding this config in my angular.json file. It might be...

I also have run into this issue, also I am not using yarn but NPM as well.

@westenberg I've not tested this scenario, I use local .json for each pattern, and the pattern inheritance of including one mustache into another works good. There's a release upcoming, and...

I've had the same issue, it's when the files referenced do not exist on the file system, the project will still work though. I have yet to find a solution...

@ItsJepser I believe the path is from the public folder, you should just be able to do `/public/` and the folder where fonts live go there. Unless you're using a...

> Wouldn't it be even better not to have a hard-coded copy task and instead let Webpack copy them when they are referenced somewhere? I mean, that's actually the case...