diff --git a/lib/loader.js b/lib/loader.js index b5ec35bd..8584e66e 100644 --- a/lib/loader.js +++ b/lib/loader.js @@ -21,6 +21,7 @@ const asyncSassJobQueue = async.queue(sass.render, threadPoolSize - 1); * @param {string} content */ function sassLoader(content) { + content = content || '//'; const callback = this.async(); const isSync = typeof callback !== "function"; const self = this;