- From: Rob Dodson <notifications@github.com>
- Date: Sun, 01 Oct 2017 00:28:35 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 1 October 2017 00:29:00 UTC
Here's [the funkiness I used](https://github.com/angular/custom-elements-interop/blob/master/src/index.html#L20-L28) on a recent angular + custom elements project to conditionally load the custom-elements-adapter. angular-cli will use webpack to dynamically inject polyfills at the end of your index.html, so that's how I load webcomponents.js after this bit has had a chance to run. Frankly it's not awesome, but it may be something that we can put into a webpack plugin so devs don't have to muck with it much :\ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/587#issuecomment-333345044
Received on Sunday, 1 October 2017 00:29:00 UTC