Skip to content
Martin Hradil edited this page Jul 30, 2019 · 3 revisions

Trying to document the usual problems people have with our webpack, and ways of fixing them.

Run it

compile the UI code + plugins:

bin/update - it all happens automatically during bin/update, but maybe that's not enough

rake update:ui - runs yarn in all the repositories, and then webpack

bin/webpack - (in ui-classic) runs just the webpack part

bin/webpack --watch - runs webpack and keeps watching for changes

Clear it

rake webpack:clobber - clear all webpack compiled code

rake yarn:clobber - clear installed npm packages from all repos - usually needed after Fedora upgrade

Clone this wiki locally