Hi,
I am trying to use the below link to try and compile some SASS code into CSS.
I have copied the code as stated but I am getting the error that they talk about in the documentation. I don’t really understand it though and don’t know how to solve the issue . Can someone please help?
Note: If your build fails or you see an error message such as “An output directory must be specified when compiling a directory”, be sure the filenames in your tasks.json match the filenames on disk. You can always test your build by running node-sass styles.scss styles.css from the command line.
// Sass configuration
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Sass Compile",
"type": "shell",
"command": "node-sass styles.scss styles.css",
"group": "build"
}
]
}
This is the problem and the code I’ve used. Further details can be found in the link above.