zulip/tools/travis
Armaan Ahluwalia 93ac40105f CSS: Move portico styles to webpack compilation.
static/styles/scss/portico.scss is now compiled by webpack
and supports SCSS syntax.

Changed the server-side templates to render the portico-styles
bundle instead of directly requiring the portico stylesheet. This
allows webpack to handle stylesheet compilation and minification.

We use the mini-css-extract-plugin to extract out css from the
includes in webpack and let webpacks production mode handle
minification. Currently we're not able to use it for dev mode
because it does not support HMR so we use style-loader instead.
Once the plugin supports HMR we can go on to use it for both
dev and prod.

The downside of this is that when reloading pages in the development
environment, there's an annoying flash of unstyled content :(.

It is now possible to make a change in any of the styles included
by static/styles/scss/portico.scss and see the code reload live
in the browser. This is because style-loader which we currently
use has the module.accept code built-in.
2018-04-27 09:04:50 -07:00
..
activate-venv py3: Stop running on Python 2 in Travis. 2017-08-16 17:54:43 -07:00
backend ci: Cut out commented-out versions of tools/lint calls. 2018-02-01 11:37:00 -08:00
frontend ci: Cut out commented-out versions of tools/lint calls. 2018-02-01 11:37:00 -08:00
production Expand testing done via Travis CI to cover production pipeline. 2015-11-01 18:11:39 -08:00
production-helper CSS: Move portico styles to webpack compilation. 2018-04-27 09:04:50 -07:00
setup-backend travis: Don't create nagios state. 2017-12-18 21:43:07 -08:00
setup-frontend Expand testing done via Travis CI to cover production pipeline. 2015-11-01 18:11:39 -08:00
setup-production docs: Update links from codebase to point to ReadTheDocs. 2017-11-16 10:53:49 -08:00
success-http-headers.txt travis/production: Update expected HTTP output. 2018-01-24 10:58:44 -08:00