@jerdeaf1 wrote:
Hello guys,
Steps:
- new stencil project, build it, the dist/ and loader/ folders generated
- new create-react-app where the project created at 1) is used like stencil suggest:
import { applyPolyfills, defineCustomElements } from 'test-components/loader'; applyPolyfills().then(() => { defineCustomElements(); });
- looks good in all browsers except IE. The polyfill is not applied in IE11 (Error: ‘Promise’ is undefined).
- if I use the scripts in index.html it works good
Is that a known issue in Stencil or am I doing something wrong (what?)?
Posts: 1
Participants: 1