Stencil: Preamble is missing

Created on 10 Jul 2019  路  7Comments  路  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:
No preamble can be found in the main files of the build.

Expected behavior:
User defined preamble or default preamble can be found in the main files of the build.

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

bug stale issue

Most helpful comment

@LalitKushwah those kinds of comments are supposed to be preserved on purpose (for copyright/license info). Also, they only make up a couple bytes, so not sure why you care much about turning them off. Anyway, that's not related to this issue.

All 7 comments

Hi CSchulz,
I am using 1.5.x version and getting the below header in the final build file:

   /*!
es6-promise - a tiny implementation of Promises/A+.
Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
Licensed under MIT license
See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
https://cdn.jsdelivr.net/npm/es6-promise/dist/es6-promise.auto.min.js
v4.2.8
*/

I have used preamble config with empty string then too it is present.

@LalitKushwah the given extract is the normal header description of the es6-promise lib. That is not the preamble. You can't turn them off via configuration, they will be copied together.

@CSchulz is there any way to turn them off ?

@LalitKushwah those kinds of comments are supposed to be preserved on purpose (for copyright/license info). Also, they only make up a couple bytes, so not sure why you care much about turning them off. Anyway, that's not related to this issue.

@simonhaenisch I understand this just asking for the query purpose.

Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out.

Thank you for using Stencil!

Was this page helpful?
0 / 5 - 0 ratings