mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
[mv3] Support conditional env_mv3
directive to parser
Related issue: - https://github.com/uBlockOrigin/uBOL-issues/issues/1
This commit is contained in:
parent
da6d17c159
commit
873c2e7264
2 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,7 @@ const rulesetDir = `${outputDir}/rulesets`;
|
|||
const scriptletDir = `${rulesetDir}/js`;
|
||||
const env = [
|
||||
'chromium',
|
||||
'mv3',
|
||||
'native_css_has',
|
||||
'ublock',
|
||||
'ubol',
|
||||
|
|
|
@ -3147,6 +3147,7 @@ Parser.utils = Parser.prototype.utils = (( ) => {
|
|||
[ 'env_firefox', 'firefox' ],
|
||||
[ 'env_legacy', 'legacy' ],
|
||||
[ 'env_mobile', 'mobile' ],
|
||||
[ 'env_mv3', 'mv3' ],
|
||||
[ 'env_safari', 'safari' ],
|
||||
[ 'cap_html_filtering', 'html_filtering' ],
|
||||
[ 'cap_user_stylesheet', 'user_stylesheet' ],
|
||||
|
|
Loading…
Reference in a new issue