Static images in dev-server mode #78
|
hi I have a question about static images in dev-server mode. In documentation there is a part: It's working well for build, but for dev-server all files in the destination folder are removed. I know that TYPO3 should prepend local url to all assets but it's not doing that for these static images. I can see the static image in manifest.json. So the problem is that viewhelper I am using typo3_encore for some time already but had not notice this issue because I was forcing image processing even if the image had the same size. So is this my misuse/bug or nobody is using static images in assets or nobody cares that is not working in dev-server mode? |
Replies: 2 comments 2 replies
|
@kszymukowicz Could you provide your whole config please. Then i will have a look into it. I am not using the dev-server, but should working as some people told me. |
|
After great support of @sabbelasichon the solution is simple. Just use VH and this produces in dev-server mode in production mode. |
After great support of @sabbelasichon the solution is simple.
Just use VH
encore:assetand this produces
in dev-server mode
and
in production mode.