mod-build 3.4.40 → 3.5.0-beta.1

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.
@@ -1,3 +1,5 @@
1
+ const sass = require('gulp-sass')(require('sass'));
2
+
1
3
  module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
2
4
  // Default autoprefixer settings
3
5
  if ('undefined' === typeof siteSettings.autoprefixerBrowsers) {
@@ -23,11 +25,11 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
23
25
  $path: assetsPath,
24
26
  $buildPath: isLocal ? '' : buildPath
25
27
  }))
26
- .pipe(gulpPlugins.sass.sync({
28
+ .pipe(sass.sync({
27
29
  outputStyle: 'expanded',
28
30
  precision: 10,
29
31
  includePaths: ['.']
30
- }).on('error', gulpPlugins.sass.logError))
32
+ }).on('error', sass.logError))
31
33
  .pipe(gulpPlugins.autoprefixer({
32
34
  browsers: siteSettings.autoprefixerBrowsers
33
35
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "3.4.40",
3
+ "version": "3.5.0-beta.1",
4
4
  "description": "Share components for S3 sites.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -39,7 +39,7 @@
39
39
  "gulp-rev-all": "^0.9.7",
40
40
  "gulp-rev-delete-original": "^0.2.3",
41
41
  "gulp-rev-replace": "^0.4.3",
42
- "gulp-sass": "^3.1.0",
42
+ "gulp-sass": "^5.1.0",
43
43
  "gulp-sass-lint": "^1.3.2",
44
44
  "gulp-sass-variables": "^1.2.0",
45
45
  "gulp-size": "^2.1.0",
@@ -65,5 +65,11 @@
65
65
  "hooks": {
66
66
  "pre-push": "gulp sass-lint && gulp js-lint-husky"
67
67
  }
68
+ },
69
+ "overrides": {
70
+ "graceful-fs": "^4.2.9"
71
+ },
72
+ "devDependencies": {
73
+ "sass": "^1.49.9"
68
74
  }
69
75
  }