Skip to content

Commit

Permalink
fix: for docs, add webcomponent polyfill for Edge
Browse files Browse the repository at this point in the history
  • Loading branch information
cuberoot committed Dec 17, 2019
1 parent dc73329 commit 6edc30b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions documentation/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6edc30b

Please # to comment.