ixkaito / frasco

Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, TypeScript, Webpack, ESLint, imagemin, Browsersync, etc.
https://ixkaito.github.io/frasco/
MIT License
132 stars 20 forks source link

Default config processing images into the wrong distribution folder #44

Closed lmerriam closed 3 years ago

lmerriam commented 3 years ago

On a new repo with no changes to package.json or imagemin.js I am seeing files placed in /assets/_src/images going to /assets/images/assets/_src/images. SCSS and JS seem to be compiling to their proper distribution folders. Changing config.image.dist in package.json does not appear to have any effect on the final location of the image files.

lmerriam commented 3 years ago

I did run NPM audit fix after install but the only package it appears to have upgraded is BrowserSync according to the packages.json file

ixkaito commented 3 years ago

Hi @lmerriam, I couldn't see this bug. npm run dev, npm run build both minify images from /assets/_src/images/ to /assets/images/ and copy them to /sites/assets/images.

I also tested changing $npm_package_config_image_dist to "assets/img". Files seem to be minified to the proper /assets/img folder and copied to /sites/assets/img.

Would you tell me your OS?