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
|
class FS
|
||||||
extend BakedFileSystem
|
extend BakedFileSystem
|
||||||
{% if read_file? "./dist" %}
|
{% if read_file? "#{__DIR__}/../dist/favicon.ico" %}
|
||||||
|
{% puts "baking ../dist" %}
|
||||||
bake_folder "../dist"
|
bake_folder "../dist"
|
||||||
{% else %}
|
{% else %}
|
||||||
|
{% puts "baking ../public" %}
|
||||||
bake_folder "../public"
|
bake_folder "../public"
|
||||||
{% end %}
|
{% end %}
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user