diff options
Diffstat (limited to 'tpl/resources/resources.go')
-rw-r--r-- | tpl/resources/resources.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tpl/resources/resources.go b/tpl/resources/resources.go index be10510f2..a1055632c 100644 --- a/tpl/resources/resources.go +++ b/tpl/resources/resources.go @@ -46,13 +46,18 @@ func New(deps *deps.Deps) (*Namespace, error) { return nil, err } + minifyClient, err := minifier.New(deps.ResourceSpec) + if err != nil { + return nil, err + } + return &Namespace{ deps: deps, scssClient: scssClient, createClient: create.New(deps.ResourceSpec), bundlerClient: bundler.New(deps.ResourceSpec), integrityClient: integrity.New(deps.ResourceSpec), - minifyClient: minifier.New(deps.ResourceSpec), + minifyClient: minifyClient, postcssClient: postcss.New(deps.ResourceSpec), templatesClient: templates.New(deps.ResourceSpec, deps), }, nil |