mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-16 05:46:34 +08:00
优化“页面优化”功能相关代码
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
package serverconfigs
|
||||
|
||||
import "github.com/tdewolff/minify/v2/css"
|
||||
|
||||
type HTTPCSSOptimizationConfig struct {
|
||||
HTTPBaseOptimizationConfig
|
||||
|
||||
@@ -26,10 +24,3 @@ func (this *HTTPCSSOptimizationConfig) Init() error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *HTTPCSSOptimizationConfig) AsMinifier() *css.Minifier {
|
||||
return &css.Minifier{
|
||||
KeepCSS2: this.KeepCSS2,
|
||||
Precision: this.Precision,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user