ben-rogerson / agency-webpack-mix-config

👨‍💻 A capable website/webapp boilerplate ready for the web agency battlefield. Creates a static site with Twig templating by default. Supports Craft/Wordpress/Laravel after a few adjustments.
103 stars 12 forks source link

Images folder shouldn't be flattened #5

Closed simple-nicholas closed 5 years ago

simple-nicholas commented 5 years ago

The images in source (src/images) are dropped into the dist folder with all sub folders flattened. This causes issues if there are images with the same file name, and is a hassle if you want to use sub folders.

Can be easily changed by replacing line 272 of webpack.mix.js with context: "src".

Edit: typo and formatting

ben-rogerson commented 5 years ago

fixed!