Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated dependencies and fix minor issue on browser-sync #29

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stefanonava77
Copy link
Contributor

No description provided.

@stefanonava77
Copy link
Contributor Author

ciao @ilterra,
I updated this repo upgrading the dependencies in order to be ready for new projects setup.

Copy link
Collaborator

@ilterra ilterra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stefanonava77 ,
I've added my comments on the request.

script/css/build.js Outdated Show resolved Hide resolved
*/
if(isProduction) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you double check images are not minified in their original source but only when moved to the build folder?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we can't use the same approach that we use on prod? Do we need images not minified for dev env?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember I had issues with minification. In particular minification was done on images on their location in src (resulting in a git change) instead of first copying them to build and then apply minification.

Can you check the script doesn't minify images in src but only in build?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked by adding a new image: no changes on src folder

webpack.config.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants