diff --git a/test/index.test.js b/test/index.test.js index 806dde04..a350c695 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -93,6 +93,10 @@ syntaxStyles.forEach(ext => { data: "$prepended-data: hotpink;" })); }); + // See https://github.com/webpack-contrib/sass-loader/issues/21 + describe("empty files", () => { + it("should compile without errors", () => execTest("empty")); + }); }); }); diff --git a/test/sass/empty.sass b/test/sass/empty.sass new file mode 100644 index 00000000..e69de29b diff --git a/test/scss/empty.scss b/test/scss/empty.scss new file mode 100644 index 00000000..e69de29b