Description
It's time to use a javascript build system such as gulp for the console.
A build system would run during the router's 'make install' and do the following:
- npm install all 3rd party libraries
- compile any typescript and scss files to .js and .css respectively
- package all .css files (3rd party and homegrown) into a single .css file
- package all .js files (again 3rd party and homegrown) into a single .js file
- minify the css and js files
- run a javascript linter
After the gulp build, only a few files would need to be copied to the console install directory.
To ensure the downstream package builds are consistent, the package_lock.json file should specify which version of the 3rd party libraries to use.
Attachments
Attachments
Issue Links
- is related to
-
DISPATCH-1018 CLONE - Install console dependencies with npm during make install
- Closed
- links to