mjeanroy / rollup-plugin-license

Rollup plugin to add license banner to the final bundle and output third party licenses
MIT License
105 stars 21 forks source link

Error when enabling multipleVersions #1682

Closed mitar closed 3 months ago

mitar commented 4 months ago

I am using Vite 5.0.10 with rollup-plugin-license 3.2.0. The example config works, but for multipleVersions it complains:

[rollup-plugin-license] -- Unknown property: "thirdParty.multipleVersions", allowed options are: sourcemap, debug, cwd, banner, thirdParty.

It works for all other config inside thirdParty object. Only if multipleVersions is set it complains. I do not know why.

mitar commented 4 months ago

I think the issue here is that schema defined here is missing multipleVersions.

mjeanroy commented 3 months ago

Hi @mitar,

Thanks for the report and the analysis. I just published version 3.3.1 with this fix, feel free to comment/re-open if it doesn't work as expected :)