@epublishing/grunt-epublishing 0.3.18 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tasks/sass.js +0 -6
package/package.json
CHANGED
package/tasks/sass.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable prefer-object-spread, promise/prefer-await-to-then */
|
|
2
1
|
'use strict';
|
|
3
2
|
const util = require('util');
|
|
4
3
|
const sass = require('sass');
|
|
@@ -12,11 +11,6 @@ module.exports = grunt => {
|
|
|
12
11
|
precision: 10
|
|
13
12
|
});
|
|
14
13
|
|
|
15
|
-
if (!options.implementation) {
|
|
16
|
-
grunt.fatal('The implementation option must be passed to the Sass task');
|
|
17
|
-
}
|
|
18
|
-
grunt.verbose.writeln(`\n${options.implementation.info}\n`);
|
|
19
|
-
|
|
20
14
|
(async () => {
|
|
21
15
|
await Promise.all(this.files.map(async item => {
|
|
22
16
|
const [src] = item.src;
|