forked from hooray/hoorayos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.rb
More file actions
30 lines (23 loc) · 849 Bytes
/
config.rb
File metadata and controls
30 lines (23 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require 'compass/import-once/activate'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "static/css"
sass_dir = "static/sass"
images_dir = "static/img"
javascripts_dir = "static/js"
# 禁用缓存
cache = false
# 开启sourcemap,更方便调试
sourcemap = true
# 输出格式,可选择 :expanded or :nested or :compact or :compressed
output_style = :compressed
# 开启行号
line_comments = false
# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets = true
# If you prefer the indented syntax, you might want to regenerate this
# project again passing --syntax sass, or you can uncomment this:
# preferred_syntax = :sass
# and then run:
# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass