Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Documentation] inlineDynamicImports not documented #708

Open
yoavaa opened this issue Jan 3, 2021 · 0 comments
Open

[Documentation] inlineDynamicImports not documented #708

yoavaa opened this issue Jan 3, 2021 · 0 comments

Comments

@yoavaa
Copy link

yoavaa commented Jan 3, 2021

The docs for the Custom Elements Bundle output target do not mention the inlineDynamicImports option.

By default, the dist-custom-elements-bundle creates a bundle with dynamic import of the CSS file. In my case dynamic imports does not work (my case - importing Stencil components to Velo by Wix (previously known as Corvid)).

After reading a lot of Stencil source code we found this option inlineDynamicImports which solved the issue. However, this option is not documented and should be added to the docs.

e.g.

outputTargets: [
  {
    type: 'dist-custom-elements-bundle',
    inlineDynamicImports: true
  },
];
@claviska claviska transferred this issue from stenciljs/core Jan 5, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant