distributev / the-app

The App
MIT License
0 stars 2 forks source link

gulp serve:dist? #67

Closed distributev closed 8 years ago

distributev commented 8 years ago

I saw most of the hexo gulp changes target gulp serve command

What about gulp serve:dist?

luismanuel001 commented 8 years ago

gulp serve:dist calls 'build' on its pipeline https://github.com/distributev/the-app/blob/frontend2/gulpfile.babel.js#L461, and thats where the other hexo tasks where added (as you described on the requirements), which I think is the correct location for those anyways.

distributev commented 8 years ago

I'm referring that gulp serve:dist (on the /client) it's also doing some obfuscation / minification / concatenation of the /client js/css/images files -

Is the new /frontend part of this "dist" obfuscation / minification / concatenation pipeline?

luismanuel001 commented 8 years ago

No it is not, the /frontend is mostly a regular hexo setup, the only extra thing added was the bower injection of dependencies added through bower.json, since the other obfuscation / minification / concatenation was not specified as a requirement, and I always tried to change only the necessary files on the hexo theme as you requested.

distributev commented 8 years ago

You are right here. It's actually better to keep hexo output with minimum modification possible.