Encore managing images and fonts?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
13 views
How to use Webpack Encore to copy the fonts, images, and other files from the assets folder in public?
by | 13 views

2 Answers

0 like 0 dislike
Pro image can be read here: aerendir.me/2018/04/06/managin-static-images-webpa...
Article like going to add in the official documentation. Cm. also https://github.com/symfony/symfony-docs/issues/9565
by
0 like 0 dislike
If fonts and images specified in css, then they will be copied to the public if not registered, that is plain - copy-webpack-plugin
... .addPlugin(new CopyWebpackPlugin([ { from: './assets/images', to: 'images' } ])) ...
by
110,608 questions
257,186 answers
0 comments
35,648 users