3
grunt-contrib-compass中有一個JavascriptsDir參數。爲什麼grunt-contrib-compass有javascriptsDir參數?
但是該文檔對此參數的用法並不清楚。
它的用途是什麼?
grunt-contrib-compass中有一個JavascriptsDir參數。爲什麼grunt-contrib-compass有javascriptsDir參數?
但是該文檔對此參數的用法並不清楚。
它的用途是什麼?
grunt-contrib-compass是一個不錯的橋樑,可以讓你使用Compass(一個紅寶石項目)和grunt。 javascriptsDir
對應於指南針選項javascripts_dir
。
羅盤實際上並沒有使用javascripts_dir
選項本身,但是可以使用指南針擴展選項。這樣你就不會得到多個擴展,所有擴展都需要知道你的JavaScript文件在哪裏,它們都使用不同的選項名稱。
Here's the explanation straight from one of the Compass developers.