grunt.initConfig({
....
compass: {
options: {
sassDir: '<%= yeoman.app %>/styles',
cssDir: '.tmp/styles',
generatedImagesDir: '.tmp/images/generated',
imagesDir: '<%= yeoman.app %>/images',
javascriptsDir: '<%= yeoman.app %>/scripts',
fontsDir: '<%= yeoman.app %>/styles/fonts',
importPath: './bower_components',
httpImagesPath: '/images',
httpGeneratedImagesPath: '/images/generated',
httpFontsPath: '/styles/fonts',
relativeAssets: false,
assetCacheBuster: false,
raw: 'Sass::Script::Number.precision = 10\n'
},
dist: {
options: {
generatedImagesDir: '<%= yeoman.dist %>/images/generated'
}
},
server: {
options: {
sourcemap: true
}
}
},
concurrent: {
server: [
'compass:server'
],
test: [
'compass'
],
dist: [
'compass:dist',
'imagemin',
'svgmin'
]
},
....
});
grunt.registerTask('build', [
'concurrent:dist',
]);
"grunt-contrib-compass": "^1.0.0",
"bootstrap-sass-official": "^3.2.0",
grunt build is failing by yielding following error:
Gruntfile.js has
compassandbuildtask like below:package.json includes:
bower.json includes:
Other information:
SO Link: https://stackoverflow.com/questions/71580046/grunt-compassdist-task-failing-due-to-invalid-css-in-bootstrap-sass-official-as