-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathconfig.rb
30 lines (27 loc) · 1.19 KB
/
config.rb
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.
# bootstrap 已经包含normalize
# require 'compass-normalize'
# Set this to the root of your project when deployed:
http_path = "/"
# project_path = ""
css_dir = ".tmp/serve/app"
sass_dir = "src/app"
images_dir = "src/assets/images"
javascripts_dir = "src/app/"
sprite_load_path = ["src/assets/images/sprite"]
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
# output_style = :expanded
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false
# 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
sourcemap = true
# 使用绝对路径方便调试http://sass-lang.com/documentation/file.SASS_REFERENCE.html#options
sass_options = {:sourcemap => :file}