momocow / webpack-userscript

A Webpack plugin for userscript projects. 🙈
https://cow.moe/webpack-userscript/
MIT License
200 stars 21 forks source link

Add support for @noframes #24

Closed rafaelgomesxyz closed 4 years ago

rafaelgomesxyz commented 4 years ago

@noframes takes no arguments, so it's removed because the headers object is passed through the trimFalsyLeaves function.

momocow commented 4 years ago

According to #22 it seems that the format of HeaderObject is not sufficient enough for all the requirements (currently @webRequest and @noframes). I may start a rework by this weekend.

inazuma-bot commented 4 years ago

:tada: This issue has been resolved in version 2.5.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

momocow commented 4 years ago

@rafaelgssa Now you can set noframes to true in the header object to generate a @noframes header without a value.

rafaelgomesxyz commented 4 years ago

Nice, thanks!