mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Explicitly set Sass compiler for gulp-sass (#7948)
As per the gulp-sass docs [1] we should be setting the `sass.compiler` property for forwards-compatibility "in case the default ever changes." [1]:https://github.com/dlmanning/gulp-sass/tree/v4.0.2#basic-usage
This commit is contained in:
parent
ca9aaad911
commit
7710286472
@ -29,6 +29,8 @@ const { makeStringTransform } = require('browserify-transform-tools')
|
||||
|
||||
const packageJSON = require('./package.json')
|
||||
|
||||
sass.compiler = require('node-sass')
|
||||
|
||||
const dependencies = Object.keys(packageJSON && packageJSON.dependencies || {})
|
||||
const materialUIDependencies = ['@material-ui/core']
|
||||
const reactDepenendencies = dependencies.filter(dep => dep.match(/react/))
|
||||
|
Loading…
Reference in New Issue
Block a user