()
| 177 | |
| 178 | /** build all SASS (.scss) files, from "src/styles", to CSS (.css) */ |
| 179 | export async function buildAllSassFiles() { |
| 180 | try { |
| 181 | await spawnStreaming('npm', ['run', 'sass:build'], { cwd: projectRootPath }); |
| 182 | console.log(`[${styleText('magenta', 'SASS')}] Full SASS build completed`); |
| 183 | } catch (err) { |
| 184 | // don't do anything when an error occured, this is to avoid watch mode to crash on errors |
| 185 | // console.error('SASS error: ', JSON.stringify(err)); |
| 186 | } |
| 187 | } |
| 188 | |
| 189 | /** |
| 190 | * build an input SASS (.scss) file to CSS (.css), |
no test coverage detected