Skip to content

[Feature]: support banner.css in bundle: false #265

@SoonIter

Description

@SoonIter
          > we should remember to add banner and footer tests about bundleless css.

Currently, we do not support banner.css

this.emitFile in loader is not handled by rspack.BannerPlugin

the files are in the chunks.auxiliaryFiles not chunks.files

https://github.com/webpack/webpack/blob/65bce6826b85a48add3371d76ba16a9933326058/lib/BannerPlugin.js#L105

Maybe we can support it by adjusting bannerPlugin in the future, this is a TODO

Originally posted by @SoonIter in #206 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions