dev, build, production workflow for preloader