Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(data => sass.promise.render({ data, includePaths: [`${rootPath}/node_modules/theme-base`] }))
.then(results => fs.promise.writeFile(`${outputPath}/theme.css`, results.css))
.then(data => sass.promise.render({ data, includePaths: [`${rootPath}/node_modules/@alexgorbatchev/theme-base`] }))
.then(results => fs.promise.writeFile(`${outputPath}/theme.css`, results.css))