forked from meteor/meteor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes meteor#631. Update the dev_bundle to use the Meteor version of gzippo which allows clientMaxAge to be set to 0, and change server.js to set the clientMaxAge to 0 for static.
- Loading branch information
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
set -e | ||
set -u | ||
|
||
BUNDLE_VERSION=0.2.16 | ||
BUNDLE_VERSION=0.2.17 | ||
UNAME=$(uname) | ||
ARCH=$(uname -m) | ||
|
||
|
@@ -78,7 +78,6 @@ which npm | |
|
||
cd "$DIR/lib/node_modules" | ||
npm install [email protected] # not 2.x yet. sockjs doesn't work w/ new connect | ||
npm install [email protected] | ||
npm install [email protected] | ||
npm install [email protected] | ||
npm install [email protected] | ||
|
@@ -101,6 +100,10 @@ npm install [email protected] | |
npm install [email protected] | ||
npm install [email protected] | ||
|
||
# allow clientMaxAge to be set to 0: | ||
# https://github.com/tomgco/gzippo/pull/49 | ||
npm install https://github.com/meteor/gzippo/tarball/1e4b955439 | ||
|
||
# uglify-js has a bug which drops 'undefined' in arrays: | ||
# https://github.com/mishoo/UglifyJS2/pull/97 | ||
npm install https://github.com/meteor/UglifyJS2/tarball/9a4d0d86ed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters