Gruntjs 咕噜指南针:导入路径可以设置为递归吗?

Gruntjs 咕噜指南针:导入路径可以设置为递归吗?,gruntjs,grunt-contrib-compass,Gruntjs,Grunt Contrib Compass,在我的一个项目中,我想使用我使用Bower normalize SCS添加的一些附加SCS。GrunFile中的指南针配置类似于主干生成器创建的配置: compass: { options: { sassDir: '<%= yeoman.app %>/styles', cssDir: '.tmp/styles', imagesDir: '<%= yeoman.app %>/images', javas

在我的一个项目中,我想使用我使用Bower normalize SCS添加的一些附加SCS。GrunFile中的指南针配置类似于主干生成器创建的配置:

compass: {
    options: {
        sassDir: '<%= yeoman.app %>/styles',
        cssDir: '.tmp/styles',
        imagesDir: '<%= yeoman.app %>/images',
        javascriptsDir: '<%= yeoman.app %>/scripts',
        fontsDir: '<%= yeoman.app %>/styles/fonts',
        importPath: '<%= yeoman.app %>/bower_components',
        relativeAssets: true
    },
    dist: {},
    server: {
        options: {
            debugInfo: true
        }
    }
}
当我将GrunFile中的导入路径更改为

importPath: ['<%= yeoman.app %>/bower_components', '<%= yeoman.app %>/bower_components/normalize-scss'],
它可以工作,但我不想把我可能需要的每个目录都放在这里。在我看来,如果我能做到以下几点,它将更便于携带:

importPath: '<%= yeoman.app %>/bower_components/**'
但这样做失败了,警告是:您必须从项目目录编译单个样式表

importPath: '<%= yeoman.app %>/bower_components/**'