mirror of
https://git.phreedom.club/localhost_frssoft/compy.git
synced 2024-11-27 10:31:31 +00:00
Update for changes of tdewolff/minify dependency
This commit is contained in:
parent
6202c0a479
commit
848c2f2028
|
@ -6,15 +6,10 @@ import (
|
||||||
"github.com/tdewolff/minify/css"
|
"github.com/tdewolff/minify/css"
|
||||||
"github.com/tdewolff/minify/html"
|
"github.com/tdewolff/minify/html"
|
||||||
"github.com/tdewolff/minify/js"
|
"github.com/tdewolff/minify/js"
|
||||||
"github.com/tdewolff/parse"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
|
||||||
parse.MaxBuf *= 8
|
|
||||||
}
|
|
||||||
|
|
||||||
type Minifier struct {
|
type Minifier struct {
|
||||||
m minify.Minify
|
m *minify.Minify
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewMinifier() *Minifier {
|
func NewMinifier() *Minifier {
|
||||||
|
|
Loading…
Reference in a new issue