diff --git a/config/webpack/webpack.common.js b/config/webpack/webpack.common.js index 6f52e4ea0a13..872ff9fe96a8 100644 --- a/config/webpack/webpack.common.js +++ b/config/webpack/webpack.common.js @@ -35,6 +35,7 @@ const webpackConfig = { new HtmlWebpackPlugin({ template: 'web/index.html', filename: 'index.html', + usePolyfillIO: platform === 'web', }), // Copies favicons into the dist/ folder to use for unread status diff --git a/web/index.html b/web/index.html index 6363008910a3..129f6b4d5c66 100644 --- a/web/index.html +++ b/web/index.html @@ -28,6 +28,10 @@ + <% if (htmlWebpackPlugin.options.usePolyfillIO) { %> + + + <% } %>