diff --git a/ChangeLog.md b/ChangeLog.md index a9ae33783..6e6dcf79f 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -8,6 +8,8 @@ This project's release branch is `master`. This log is written from the perspect * [#919](https://github.com/obsidiansystems/obelisk/pull/919): Document useful command for testing obelisk branches to CONTRIBUTING.md * [#913](https://github.com/obsidiansystems/obelisk/pull/913): Add haddocks to Obelisk.Command.Deploy * [#931](https://github.com/obsidiansystems/obelisk/pull/931): For `ob deploy init`, command-line option `--check-known-host` corrected in readme, caveat added for multiple matching host-keypairs. +* building + * [#956](https://github.com/obsidiansystems/obelisk/pull/956): Squelch closure-compiler warnings. They are not very helpful and can cause issues (see: [closure-compiler#3720](https://github.com/google/closure-compiler/issues/3720)) * nixpkgs-overlays * Remove override of acme module that pinned it to the version in nixpkgs-20.03. This is used for automatic https certificate provisioning. * CLI diff --git a/default.nix b/default.nix index 248653e94..2f25f191f 100644 --- a/default.nix +++ b/default.nix @@ -87,7 +87,7 @@ in rec { ${if optimizationLevel == null then '' ln -s "$dir/all.unminified.js" "$dir/all.js" '' else '' - '${pkgs.closurecompiler}/bin/closure-compiler' ${if externs == null then "" else "--externs '${externs}'"} --externs '${reflex-platform.ghcjsExternsJs}' -O '${optimizationLevel}' --jscomp_warning=checkVars --create_source_map="$dir/all.js.map" --source_map_format=V3 --js_output_file="$dir/all.js" "$dir/all.unminified.js" + '${pkgs.closurecompiler}/bin/closure-compiler' ${if externs == null then "" else "--externs '${externs}'"} --externs '${reflex-platform.ghcjsExternsJs}' -O '${optimizationLevel}' --jscomp_warning=checkVars --warning_level=QUIET --create_source_map="$dir/all.js.map" --source_map_format=V3 --js_output_file="$dir/all.js" "$dir/all.unminified.js" echo '//# sourceMappingURL=all.js.map' >> "$dir/all.js" ''} done