Skip to content

fex-team/fis-optimizer-js-obfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fis-optimizer-js-obfuscator

javascript-obfuscator的fis插件。

使用

npm i -g fis-optimizer-js-obfuscator

配置

在项目配置文件(默认fis-conf.js)配置

fis.match('your/js/path', {
  optimizer: fis.plugin('js-obfuscator', option)
})

optionjavascript-obfuscator的配置,也可以使用fis-optimizer-js-obfuscator内置的配置,如:

fis.match('your/js/path', {
  optimizer: fis.plugin('js-obfuscator', {obfuscatorLeval: 'high'})
});

fis.match('your/js/path', {
  optimizer: fis.plugin('js-obfuscator', {obfuscatorLeval: 'medium'})
});

fis.match('your/js/path', {
  optimizer: fis.plugin('js-obfuscator', {obfuscatorLeval: 'low'})
});

highmediumlow分别对应javascript-obfuscator的推荐配置

About

javascript-obfuscator的fis插件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published