diff --git a/Dockerfile.onbuild b/Dockerfile.onbuild index 85becf4619..8fe4cd8248 100644 --- a/Dockerfile.onbuild +++ b/Dockerfile.onbuild @@ -6,6 +6,7 @@ ONBUILD ARG TALK_ASSET_COMMENTS_LOAD_DEPTH=10 ONBUILD ARG TALK_REPLY_COMMENTS_LOAD_DEPTH=3 ONBUILD ARG TALK_THREADING_LEVEL=3 ONBUILD ARG TALK_DEFAULT_STREAM_TAB=all +ONBUILD ARG TALK_DISABLE_EMBED_POLYFILL=FALSE ONBUILD ARG TALK_DEFAULT_LANG=en ONBUILD ARG TALK_WHITELISTED_LANGUAGES ONBUILD ARG TALK_PLUGINS_JSON diff --git a/docs/source/02-02-advanced-configuration.md b/docs/source/02-02-advanced-configuration.md index 3ac9b5c1b6..083b4bcdbf 100644 --- a/docs/source/02-02-advanced-configuration.md +++ b/docs/source/02-02-advanced-configuration.md @@ -60,6 +60,10 @@ When `TRUE`, disables flagging of comments that match the suspect word filter. ( ## TALK_DISABLE_EMBED_POLYFILL +This is a **Build Variable** and must be consumed during build. If using the +[Docker-onbuild](/talk/installation-from-docker/#onbuild) +image you can specify it with `--build-arg TALK_DISABLE_EMBED_POLYFILL=TRUE`. + When set to `TRUE`, the build process will not include the [babel-polyfill](https://babeljs.io/docs/usage/polyfill/) in the embed.js target that is loaded on the page that loads the embed. (Default