Skip to content

Commit

Permalink
fix: added disable polyfill arg to onbuild (coralproject#1732)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh authored Jul 4, 2018
1 parent 95fb33e commit e55ed48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.onbuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions docs/source/02-02-advanced-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e55ed48

Please sign in to comment.