Minify livereload.js
This commit is contained in:
parent
b2c3adff37
commit
d9ed7df118
File diff suppressed because one or more lines are too long
|
@ -23,6 +23,10 @@ enum ChangeKind {
|
|||
StaticFiles,
|
||||
}
|
||||
|
||||
// Uglified using uglifyjs
|
||||
// Also, commenting out the lines 330-340 (containing `e instanceof ProtocolError`) was needed
|
||||
// as it seems their build didn't work well and didn't include ProtocolError so it would error on
|
||||
// errors
|
||||
const LIVE_RELOAD: &'static str = include_str!("livereload.js");
|
||||
|
||||
|
||||
|
|
|
@ -391,5 +391,4 @@ fn test_can_build_site_with_pagination_for_index() {
|
|||
assert!(file_contains!(public, "index.html", "Last: https://replace-this-with-your-url.com/"));
|
||||
assert_eq!(file_contains!(public, "index.html", "has_prev"), false);
|
||||
assert_eq!(file_contains!(public, "index.html", "has_next"), false);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue