mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-25 00:00:36 -05:00
- allow building without uglifying with make build
This commit is contained in:
@@ -5,7 +5,11 @@ require "./util"
|
||||
|
||||
class FS
|
||||
extend BakedFileSystem
|
||||
bake_folder "../dist"
|
||||
{% if read_file? "./dist" %}
|
||||
bake_folder "../dist"
|
||||
{% else %}
|
||||
bake_folder "../public"
|
||||
{% end %}
|
||||
end
|
||||
|
||||
class StaticHandler < Kemal::Handler
|
||||
|
||||
Reference in New Issue
Block a user