apparatus / fsms-formula

0 stars 0 forks source link

ui build process - standard way to expose #6

Open davidmarkclements opened 8 years ago

davidmarkclements commented 8 years ago

How ui does its build its up to integration - but for development (watching, rebuild cycle) and deployment (ci, prod ui build) we should think about a standard way to expose the components build process so that deployment and development tools can work without config across projects

piccoloaiutante commented 8 years ago

aren't npm scripts enough expose build process @davidmarkclements ?

mihaidma commented 8 years ago

for the moment we have webpack and npm scripts. For production there is some work done with Drone on the previous boilerplate project, don't know yet if the build and deployment systems will be added to the next planning.

davidmarkclements commented 8 years ago

webpack is just.. the worst.

but I feel that I've not got my point across for this issue, here's how I see things

@piccoloaiutante is right, npm scripts should cover this, but we need to define and standardize what those scripts are

npm run build for dev and npm run build --production should work?

So if we use webpack (or... preferably browserify), or whatever we use, it should be initialised with the same npm script