How to set an alias for paths in html using webpack?
-
Using the webpack, you can create aliases for imports in css and js, but how to do it for html? Is this even possible? Google doesn't find anything: |
Desired functionality
& lt; img src = "@ images / photo.jpg" / & gt;
JavaScript Brielle Zhang, Mar 16, 2020
0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!