From 6edc30bf120ce3750ac1d60c1c976c74893b0b87 Mon Sep 17 00:00:00 2001 From: Michael Taylor Date: Tue, 17 Dec 2019 10:02:18 +1300 Subject: [PATCH] fix: for docs, add webcomponent polyfill for Edge --- documentation/webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/documentation/webpack.config.js b/documentation/webpack.config.js index 116d08436d..944345eddd 100644 --- a/documentation/webpack.config.js +++ b/documentation/webpack.config.js @@ -29,6 +29,11 @@ const litComponentDirectories = [ const openWcConfig = createDefaultConfig({ input: path.resolve(__dirname, './index.html'), + webpackIndexHTMLPlugin: { + polyfills: { + webcomponents: true, // Needed until Chromium Edge is released + }, + }, }); const babelLoader = openWcConfig.module.rules.find(