How to build ui_frameworks after I modify the src code


(whoami) #1

kibana: 5.4.3
how to build ui_frameworks after I modify the src code


(Joe Fleming) #2

There's an npm script to run the build: npm run uiFramework:build


(whoami) #3
>  grunt uiFramework:build
Warning: Task "uiFramework:build" not found. Use --force to continue.

Aborted due to warnings.

> grunt uiFramework:build --force
Warning: Task "uiFramework:build" not found. Used --force, continuing.

Done, but with warnings.


(whoami) #4

ok got it, its a feature in alpha-6.0: https://github.com/elastic/kibana/pull/11402/files


(Joe Fleming) #5

Oh, sorry, I didn't realize it was introduced so recently. I spend my time working against master and the script was there, I didn't check to see when it was added. The uiFramework has been around for a while, I assumed it had a build step for a while too.


(whoami) #6

thanks Joe for providing the keyword 'uiFramework:build'!


(system) #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.