diff --git a/index.js b/index.js index 7d5a424d..076d37eb 100644 --- a/index.js +++ b/index.js @@ -205,7 +205,7 @@ module.exports = function (content) { this.cacheable(); - sassOptions.data = content; + sassOptions.data = sassOptions.data ? (sassOptions.data + '\n\n' + content) : content; // Skip empty files, otherwise it will stop webpack, see issue #21 if (content.trim() === '') {