diff --git a/plugin-sass.js b/plugin-sass.js index 2b6c33e..e4bd30e 100644 --- a/plugin-sass.js +++ b/plugin-sass.js @@ -10,13 +10,14 @@ const sass = require('sass'); class SassResource extends ResourceInterface { constructor(compilation, options) { super(compilation, options); - this.extensions = ['.scss', '.sass']; + this.extensions = ['.scss']; this.contentType = 'text/css'; } async serve(url) { return new Promise(async (resolve, reject) => { try { + // https://sass-lang.com/documentation/js-api const result = sass.renderSync({ file: url }); resolve({