mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 08:22:41 +08:00
Enable caching of minified formatter JS
This commit is contained in:
parent
e466fa2f7c
commit
51e72336ef
@ -66,6 +66,7 @@ class Formatter
|
||||
$configurator->javascript->exportMethods = ['preview'];
|
||||
$minifier = $configurator->javascript->setMinifier('ClosureCompilerService');
|
||||
$minifier->keepGoing = true;
|
||||
$minifier->cacheDir = storage_path() . '/app';
|
||||
|
||||
return $configurator->finalize([
|
||||
'returnParser' => false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user