Skip to content

Comments starting with webpack are included build #304

@BobbieGoede

Description

@BobbieGoede

Reproduction link or steps

https://stackblitz.com/edit/github-6a59pav1?file=src%2Findex.ts

Compare the source code and build code, notice which comments are kept

What is expected?

I figured all comments would be stripped from the build, even those beginning with webpack, no offense to webpack

What is actually happening?

Source code
Image

Build
Image

Any additional comments?

This is probably caused by something upstream (hardly any mention of webpack in this repo), just not sure if this is desired/intended behavior.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingupstream

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions