Skip to content

jsyczhanghao/feather2-postprocessor-inline-compress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

feather2-postprocessor-inline-compress

feather2-postprocessor-inline-compress是feather2中的一个内联样式以及js进行压缩的插件,它可同样作为fis的插件进行使用。

#使用

npm install feather2-postprocessor-inline-compress

conf/conf.js

feather.config.get('postprocessor').push('inline-compress');

index.html

<script compress>
(function(window){
console.log(123);
})(window);
</script>

<style type="text/css" compress>
div{
  font-size: 12px;
  font-weight: bold;
}
</style>

About

feather2 内联样式和script压缩插件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors