Use LESS imports paths from config

This commit is contained in:
Kevin Sawicki
2013-09-16 16:23:59 -07:00
parent bb479f47d9
commit 33bce240cf

View File

@@ -14,11 +14,7 @@ module.exports = (grunt) ->
directory = path.join(grunt.config.get('atom.appDir'), 'less-compile-cache')
for configuration in prebuiltConfigurations
importPaths = [
path.resolve('static/variables')
path.resolve('static')
path.resolve('vendor')
]
importPaths = grunt.config.get('less.options.paths')
themeMains = []
for theme in configuration
# TODO Use AtomPackage class once it runs outside of an Atom context