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
7a21f4dc9b
commit
a7519a791e
@ -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