From a4bae25c7cdd2834baf7e8eeec89ae0883655f98 Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 9 Jun 2020 14:55:42 -0700 Subject: [PATCH] fix: Correct license headers in compiled output It seems that the `!` in the header forces the compiler to keep it in the output. I believe older compiler releases did this purely based on `@license`. Issue #2638 This is a minimal backport to v2.5.x which only touches the compiled wrapper. Change-Id: I7f0e918caad10c9af689c9d07672b7fe9be7b2f3 --- build/wrapper.template.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/wrapper.template.js b/build/wrapper.template.js index a611dfea4d..9bc8048984 100644 --- a/build/wrapper.template.js +++ b/build/wrapper.template.js @@ -1,3 +1,9 @@ +/*! @license + * Shaka Player + * Copyright 2016 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + (function() { // This is "window" in browsers and "global" in nodejs. // See https://github.com/google/shaka-player/issues/1445