locomotivemtl / locomotive-boilerplate

πŸš‚ Front-end boilerplate for projects by Locomotive.
https://locomotivemtl-boilerplate.vercel.app/
MIT License
458 stars 71 forks source link

Refactor build tasks and config file #95

Closed mcaskill closed 2 years ago

mcaskill commented 2 years ago

Refactored the structure of the configuration file and tasks to allow for greater flexibility.

Replaced legacy mconfig.json with new loconfig.json. Base paths, and proxy URL, are grouped under paths. Targets to process are grouped under tasks. Previously hardcoded, each task can now process multiple targets.

Added:

Changed:

devenini commented 2 years ago

Just tested on my end πŸ‘Œ The only thing I would correct is the extra ' in concat.js on line 46 ( concatenated' => concatenated).

Jerek0 commented 2 years ago

Looks great! πŸ‘Œ

However it seems to be greedier than before, compilation times seems to be longer now on my end. Which I get for styles because of postcss & autoprefixer, but I don't understand for scripts πŸ€”