From c69f9930137fc6f530ab92468041f06c2df69c63 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 24 Dec 2015 14:39:07 +0100 Subject: Accelerate the build process Following a valuable comment from @Slava [0], this commit improves the build and the reload time of Wekan. It does so by implementing the following changes: * Upgrade the meteor build tool to a version which includes a fix to an issue with the caching of the dependency resolution [1]. This fix will be included in Meteor 1.3, so we won't have to use a "special release" anymore; * Change the stylus package from `mquandalle:stylus` to `stylus` as we don't use the libraries included with my (mquandalle) version like Jeet or Rupture, and the core package implement the new meteor build plugin API with caching. The generated CSS file is slighly different mostly mostly because we miss some autoprefixed values but even until meteor-core figure out a good way to configure CSS autoprefixing, the benefits (better compile time) outweights the cons. For record I attached a diff in the generated style [2]; * Upgrade `mquandalle:jade` to a version that implements the build plugin caching correctly. These 3 changes decrease the reload time of about 50% on my computer. [0]: https://github.com/meteor/meteor/issues/5269#issuecomment-166422201 [1]: https://github.com/meteor/meteor/pull/5747 [2]: https://gist.github.com/mquandalle/e95198626767b56fc63a --- .meteor/release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.meteor/release') diff --git a/.meteor/release b/.meteor/release index 3a05e0a2..aa93b69d 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -METEOR@1.2.1 +METEOR@1.2.2-faster-rebuilds.0 -- cgit v1.2.3-1-g7c22