mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Fix the problem that minified assets in dist/ are not used.
This commit is contained in:
parent
e90b97ca43
commit
59622930c7
@ -5,9 +5,11 @@ require "./util"
|
||||
|
||||
class FS
|
||||
extend BakedFileSystem
|
||||
{% if read_file? "./dist" %}
|
||||
{% if read_file? "#{__DIR__}/../dist/favicon.ico" %}
|
||||
{% puts "baking ../dist" %}
|
||||
bake_folder "../dist"
|
||||
{% else %}
|
||||
{% puts "baking ../public" %}
|
||||
bake_folder "../public"
|
||||
{% end %}
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user