Stencil: Preamble config option doesn't work

Created on 28 Jan 2020  路  3Comments  路  Source: ionic-team/stencil

Stencil version:

 @stencil/[email protected]

I'm submitting a:

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/

Current behavior:
Specifying a preamble value in my Stencil config doesn't show up in my JS bundle.

Expected behavior:
The main JS bundle in ./dist should contain the preamble value set in Stencil's config.

Steps to reproduce:
Set the preamble in your stencil.config.ts file. Something like:

export const config: Config = {
  preamble: "Test preamble"
}

Run npm run build.

Related code:

// insert any relevant code here

Other information:
Issue was previously reported with in https://github.com/ionic-team/stencil/issues/1723 but was closed due to inactivity.

https://stenciljs.com/docs/config#preamble

bug help wanted

Most helpful comment

why this is still ignored?
this is also reported here last year: https://github.com/ionic-team/stencil/issues/1723

cheers

inspector gadget:

@adamdbradley committed on 3 Jun 2019: https://github.com/ionic-team/stencil-site/commit/1263d1e6fcf493f371e49d85832c9b24c378515d#diff-689c19470ae2ed5ac0b4ba2bb534871dd960e99ae1638ca7da6bab934a5dd022R106

All 3 comments

Hello. Any progress?

why this is still ignored?
this is also reported here last year: https://github.com/ionic-team/stencil/issues/1723

cheers

inspector gadget:

@adamdbradley committed on 3 Jun 2019: https://github.com/ionic-team/stencil-site/commit/1263d1e6fcf493f371e49d85832c9b24c378515d#diff-689c19470ae2ed5ac0b4ba2bb534871dd960e99ae1638ca7da6bab934a5dd022R106

Was this page helpful?
0 / 5 - 0 ratings